home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / x11 / x-select.elc.z / x-select.elc
Emacs Compiled Lisp  |  1998-05-21  |  13.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 34 3a 34 34 20 31 | 39 39 38 0a 3b 3b 3b 20 |:44:44 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 78 | 31 31 2f 78 2d 73 65 6c |3/lisp/x|11/x-sel|
|000000a0| 65 63 74 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |ect.el.;|;; emacs|
|000000b0| 20 76 65 72 73 69 6f 6e | 20 32 30 2e 33 20 22 56 | version| 20.3 "V|
|000000c0| 61 74 69 63 61 6e 20 43 | 69 74 79 22 20 58 45 6d |atican C|ity" XEm|
|000000d0| 61 63 73 20 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |acs Luc|id..;;; |
|000000e0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000f0| 20 32 2e 32 35 20 58 45 | 6d 61 63 73 3b 20 32 32 | 2.25 XE|macs; 22|
|00000100| 2d 4d 61 72 2d 39 36 2e | 0a 3b 3b 3b 20 6f 70 74 |-Mar-96.|.;;; opt|
|00000110| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|00000120| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|00000130| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|00000140| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000150| 6e 20 45 6d 61 63 73 20 | 31 39 2e 0a 0a 28 69 66 |n Emacs |19...(if|
|00000160| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000170| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000180| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000190| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|000001a0| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|000001b0| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|000001c0| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|000001d0| 69 6f 6e 20 22 32 30 22 | 29 29 29 0a 20 20 20 20 |ion "20"|))). |
|000001e0| 28 65 72 72 6f 72 20 22 | 60 78 2d 73 65 6c 65 63 |(error "|`x-selec|
|000001f0| 74 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |t.el' wa|s compil|
|00000200| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 32 30 22 |ed for E|macs 20"|
|00000210| 29 29 0a 0a 28 6f 72 20 | 28 62 6f 75 6e 64 70 20 |))..(or |(boundp |
|00000220| 27 63 75 72 72 65 6e 74 | 2d 6c 6f 61 64 2d 6c 69 |'current|-load-li|
|00000230| 73 74 29 20 28 73 65 74 | 71 20 63 75 72 72 65 6e |st) (set|q curren|
|00000240| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 20 6e 69 6c 29 |t-load-l|ist nil)|
|00000250| 29 0a 0a 0a 23 40 32 38 | 39 20 54 68 65 20 74 79 |)...#@28|9 The ty|
|00000260| 70 65 20 61 74 6f 6d 20 | 75 73 65 64 20 74 6f 20 |pe atom |used to |
|00000270| 6f 62 74 61 69 6e 20 73 | 65 6c 65 63 74 69 6f 6e |obtain s|election|
|00000280| 73 20 66 72 6f 6d 20 74 | 68 65 20 58 20 73 65 72 |s from t|he X ser|
|00000290| 76 65 72 2e 0a 43 61 6e | 20 62 65 20 65 69 74 68 |ver..Can| be eith|
|000002a0| 65 72 20 61 20 76 61 6c | 69 64 20 58 20 73 65 6c |er a val|id X sel|
|000002b0| 65 63 74 69 6f 6e 20 64 | 61 74 61 20 74 79 70 65 |ection d|ata type|
|000002c0| 2c 20 6f 72 20 61 20 6c | 69 73 74 20 6f 66 20 73 |, or a l|ist of s|
|000002d0| 75 63 68 20 74 79 70 65 | 73 2e 0a 43 4f 4d 50 4f |uch type|s..COMPO|
|000002e0| 55 4e 44 5f 54 45 58 54 | 20 61 6e 64 20 53 54 52 |UND_TEXT| and STR|
|000002f0| 49 4e 47 20 61 72 65 20 | 74 68 65 20 6d 6f 73 74 |ING are |the most|
|00000300| 20 63 6f 6d 6d 6f 6e 6c | 79 20 75 73 65 64 20 64 | commonl|y used d|
|00000310| 61 74 61 20 74 79 70 65 | 73 2e 0a 49 66 20 61 20 |ata type|s..If a |
|00000320| 6c 69 73 74 20 69 73 20 | 70 72 6f 76 69 64 65 64 |list is |provided|
|00000330| 2c 20 74 68 65 20 74 79 | 70 65 73 20 61 72 65 20 |, the ty|pes are |
|00000340| 74 72 69 65 64 20 69 6e | 20 73 65 71 75 65 6e 63 |tried in| sequenc|
|00000350| 65 20 75 6e 74 69 6c 0a | 74 68 65 72 65 20 69 73 |e until.|there is|
|00000360| 20 61 20 73 75 63 63 65 | 73 73 66 75 6c 20 63 6f | a succe|ssful co|
|00000370| 6e 76 65 72 73 69 6f 6e | 2e 1f 0a 28 64 65 66 76 |nversion|...(defv|
|00000380| 61 72 20 78 2d 73 65 6c | 65 63 74 65 64 2d 74 65 |ar x-sel|ected-te|
|00000390| 78 74 2d 74 79 70 65 20 | 28 62 79 74 65 2d 63 6f |xt-type |(byte-co|
|000003a0| 64 65 20 22 c0 c1 21 ab | 82 c2 87 c3 87 22 20 5b |de "..!.|....." [|
|000003b0| 66 65 61 74 75 72 65 70 | 20 6d 75 6c 65 20 28 43 |featurep| mule (C|
|000003c0| 4f 4d 50 4f 55 4e 44 5f | 54 45 58 54 20 53 54 52 |OMPOUND_|TEXT STR|
|000003d0| 49 4e 47 29 20 53 54 52 | 49 4e 47 5d 20 32 29 20 |ING) STR|ING] 2) |
|000003e0| 28 23 24 20 2e 20 36 30 | 32 29 29 0a 23 40 32 31 |(#$ . 60|2)).#@21|
|000003f0| 33 20 52 65 74 75 72 6e | 20 74 68 65 20 76 61 6c |3 Return| the val|
|00000400| 75 65 20 6f 66 20 61 6e | 20 58 20 57 69 6e 64 6f |ue of an| X Windo|
|00000410| 77 73 20 73 65 6c 65 63 | 74 69 6f 6e 2e 0a 54 68 |ws selec|tion..Th|
|00000420| 65 20 61 72 67 75 6d 65 | 6e 74 20 54 59 50 45 20 |e argume|nt TYPE |
|00000430| 28 64 65 66 61 75 6c 74 | 20 60 50 52 49 4d 41 52 |(default| `PRIMAR|
|00000440| 59 27 29 20 73 61 79 73 | 20 77 68 69 63 68 20 73 |Y') says| which s|
|00000450| 65 6c 65 63 74 69 6f 6e | 2c 20 0a 61 6e 64 20 74 |election|, .and t|
|00000460| 68 65 20 61 72 67 75 6d | 65 6e 74 20 44 41 54 41 |he argum|ent DATA|
|00000470| 2d 54 59 50 45 20 28 64 | 65 66 61 75 6c 74 20 60 |-TYPE (d|efault `|
|00000480| 53 54 52 49 4e 47 27 2c | 20 6f 72 20 60 43 4f 4d |STRING',| or `COM|
|00000490| 50 4f 55 4e 44 5f 54 45 | 58 54 27 20 75 6e 64 65 |POUND_TE|XT' unde|
|000004a0| 72 20 4d 75 6c 65 29 0a | 73 61 79 73 20 68 6f 77 |r Mule).|says how|
|000004b0| 20 74 6f 20 63 6f 6e 76 | 65 72 74 20 74 68 65 20 | to conv|ert the |
|000004c0| 64 61 74 61 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |data...(|defalias|
|000004d0| 20 27 78 2d 67 65 74 2d | 73 65 6c 65 63 74 69 6f | 'x-get-|selectio|
|000004e0| 6e 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 74 |n #[(&op|tional t|
|000004f0| 79 70 65 20 64 61 74 61 | 2d 74 79 70 65 29 20 22 |ype data|-type) "|
|00000500| 08 ac 82 c1 10 5c 6e ac | 82 0b 12 5c 6e 3a ab 86 |.....\n.|...\n:..|
|00000510| c4 c5 c6 8f aa 84 c7 08 | 5c 6e 5c 22 89 1e 08 3a |........|\n\"...:|
|00000520| ab 8b 0e 08 40 39 ab 85 | 0e 08 41 16 08 0e 08 3b |....@9..|..A....;|
|00000530| ac 86 c9 ca 0e 08 5c 22 | 88 0e 08 29 87 22 20 5b |......\"|...)." [|
|00000540| 74 79 70 65 20 50 52 49 | 4d 41 52 59 20 64 61 74 |type PRI|MARY dat|
|00000550| 61 2d 74 79 70 65 20 78 | 2d 73 65 6c 65 63 74 65 |a-type x|-selecte|
|00000560| 64 2d 74 65 78 74 2d 74 | 79 70 65 20 65 72 72 20 |d-text-t|ype err |
|00000570| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 09 5c 6e |(byte-co|de "..\n|
|00000580| 40 5c 22 87 22 20 5b 78 | 2d 67 65 74 2d 73 65 6c |@\"." [x|-get-sel|
|00000590| 65 63 74 69 6f 6e 2d 69 | 6e 74 65 72 6e 61 6c 20 |ection-i|nternal |
|000005a0| 74 79 70 65 20 64 61 74 | 61 2d 74 79 70 65 5d 20 |type dat|a-type] |
|000005b0| 33 29 20 28 28 73 65 6c | 65 63 74 69 6f 6e 2d 63 |3) ((sel|ection-c|
|000005c0| 6f 6e 76 65 72 73 69 6f | 6e 2d 65 72 72 6f 72 20 |onversio|n-error |
|000005d0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 41 ab 86 |(byte-co|de ".A..|
|000005e0| c1 5c 6e 08 41 5c 22 87 | c3 0c 40 0c 41 5c 22 87 |.\n.A\".|..@.A\".|
|000005f0| 22 20 5b 64 61 74 61 2d | 74 79 70 65 20 78 2d 67 |" [data-|type x-g|
|00000600| 65 74 2d 73 65 6c 65 63 | 74 69 6f 6e 20 74 79 70 |et-selec|tion typ|
|00000610| 65 20 73 69 67 6e 61 6c | 20 65 72 72 5d 20 33 29 |e signal| err] 3)|
|00000620| 29 29 20 78 2d 67 65 74 | 2d 73 65 6c 65 63 74 69 |)) x-get|-selecti|
|00000630| 6f 6e 2d 69 6e 74 65 72 | 6e 61 6c 20 74 65 78 74 |on-inter|nal text|
|00000640| 20 65 72 72 6f 72 20 22 | 53 65 6c 65 63 74 69 6f | error "|Selectio|
|00000650| 6e 20 69 73 20 6e 6f 74 | 20 61 20 73 74 72 69 6e |n is not| a strin|
|00000660| 67 3a 20 25 53 22 5d 20 | 34 20 28 23 24 20 2e 20 |g: %S"] |4 (#$ . |
|00000670| 31 30 31 30 29 5d 29 0a | 23 40 34 32 20 52 65 74 |1010)]).|#@42 Ret|
|00000680| 75 72 6e 20 74 65 78 74 | 20 73 65 6c 65 63 74 65 |urn text| selecte|
|00000690| 64 20 66 72 6f 6d 20 73 | 6f 6d 65 20 58 20 77 69 |d from s|ome X wi|
|000006a0| 6e 64 6f 77 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ndow...(|defalias|
|000006b0| 20 27 78 2d 67 65 74 2d | 73 65 63 6f 6e 64 61 72 | 'x-get-|secondar|
|000006c0| 79 2d 73 65 6c 65 63 74 | 69 6f 6e 20 23 5b 6e 69 |y-select|ion #[ni|
|000006d0| 6c 20 22 c0 c1 21 87 22 | 20 5b 78 2d 67 65 74 2d |l "..!."| [x-get-|
|000006e0| 73 65 6c 65 63 74 69 6f | 6e 20 53 45 43 4f 4e 44 |selectio|n SECOND|
|000006f0| 41 52 59 5d 20 32 20 28 | 23 24 20 2e 20 31 36 36 |ARY] 2 (|#$ . 166|
|00000700| 31 29 5d 29 0a 23 40 33 | 38 20 52 65 74 75 72 6e |1)]).#@3|8 Return|
|00000710| 20 74 65 78 74 20 70 61 | 73 74 65 64 20 74 6f 20 | text pa|sted to |
|00000720| 74 68 65 20 63 6c 69 70 | 62 6f 61 72 64 2e 1f 0a |the clip|board...|
|00000730| 28 64 65 66 61 6c 69 61 | 73 20 27 78 2d 67 65 74 |(defalia|s 'x-get|
|00000740| 2d 63 6c 69 70 62 6f 61 | 72 64 20 23 5b 6e 69 6c |-clipboa|rd #[nil|
|00000750| 20 22 c0 c1 21 87 22 20 | 5b 78 2d 67 65 74 2d 73 | "..!." |[x-get-s|
|00000760| 65 6c 65 63 74 69 6f 6e | 20 43 4c 49 50 42 4f 41 |election| CLIPBOA|
|00000770| 52 44 5d 20 32 20 28 23 | 24 20 2e 20 31 38 30 32 |RD] 2 (#|$ . 1802|
|00000780| 29 5d 29 0a 23 40 35 34 | 20 54 68 65 20 65 78 74 |)]).#@54| The ext|
|00000790| 65 6e 74 20 6f 66 20 74 | 68 65 20 70 72 69 6d 61 |ent of t|he prima|
|000007a0| 72 79 20 73 65 6c 65 63 | 74 69 6f 6e 3b 20 64 6f |ry selec|tion; do|
|000007b0| 6e 27 74 20 75 73 65 20 | 74 68 69 73 2e 1f 0a 28 |n't use |this...(|
|000007c0| 64 65 66 76 61 72 20 70 | 72 69 6d 61 72 79 2d 73 |defvar p|rimary-s|
|000007d0| 65 6c 65 63 74 69 6f 6e | 2d 65 78 74 65 6e 74 20 |election|-extent |
|000007e0| 6e 69 6c 20 28 23 24 20 | 2e 20 31 39 32 39 29 29 |nil (#$ |. 1929))|
|000007f0| 0a 23 40 35 36 20 54 68 | 65 20 65 78 74 65 6e 74 |.#@56 Th|e extent|
|00000800| 20 6f 66 20 74 68 65 20 | 73 65 63 6f 6e 64 61 72 | of the |secondar|
|00000810| 79 20 73 65 6c 65 63 74 | 69 6f 6e 3b 20 64 6f 6e |y select|ion; don|
|00000820| 27 74 20 75 73 65 20 74 | 68 69 73 2e 1f 0a 28 64 |'t use t|his...(d|
|00000830| 65 66 76 61 72 20 73 65 | 63 6f 6e 64 61 72 79 2d |efvar se|condary-|
|00000840| 73 65 6c 65 63 74 69 6f | 6e 2d 65 78 74 65 6e 74 |selectio|n-extent|
|00000850| 20 6e 69 6c 20 28 23 24 | 20 2e 20 32 30 33 38 29 | nil (#$| . 2038)|
|00000860| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 78 2d 73 |).(defal|ias 'x-s|
|00000870| 65 6c 65 63 74 2d 6d 61 | 6b 65 2d 65 78 74 65 6e |elect-ma|ke-exten|
|00000880| 74 2d 66 6f 72 2d 73 65 | 6c 65 63 74 69 6f 6e 20 |t-for-se|lection |
|00000890| 23 5b 28 73 65 6c 65 63 | 74 69 6f 6e 20 70 72 65 |#[(selec|tion pre|
|000008a0| 76 69 6f 75 73 2d 65 78 | 74 65 6e 74 29 20 22 c0 |vious-ex|tent) ".|
|000008b0| c1 5c 6e 21 ad 8a c3 5c | 6e 21 ad 85 c4 c3 5c 6e |.\n!...\|n!....\n|
|000008c0| 21 21 c0 89 1d 1e 06 1e | 07 1e 08 0e 09 3b ab 85 |!!......|.....;..|
|000008d0| c0 16 07 aa dd 0e 09 3a | ab a9 0e 09 40 0e 09 41 |.......:|....@..A|
|000008e0| 5e 16 06 0e 09 40 0e 09 | 41 5d 15 0e 07 ad 89 ca |^....@..|A]......|
|000008f0| 0e 09 40 21 c3 5c 6e 21 | 61 16 07 ca 0e 09 40 21 |..@!.\n!|a.....@!|
|00000900| 16 08 aa af c1 0e 09 21 | ab a1 cb 0e 09 21 16 06 |.......!|.....!..|
|00000910| cc 0e 09 21 15 0e 07 ad | 88 c3 0e 09 21 c3 5c 6e |...!....|....!.\n|
|00000920| 21 61 16 07 c3 0e 09 21 | 16 08 aa 88 cd ce cf 0e |!a.....!|........|
|00000930| 09 44 5c 22 88 0e 07 ac | 85 c0 d0 d1 8f 88 0e 08 |.D\"....|........|
|00000940| ad a9 0e 07 ab 88 d2 5c | 6e 0e 06 0d 23 aa 9d d3 |.......\|n...#...|
|00000950| 0e 06 0d 0e 08 23 12 d4 | 5c 6e d5 c0 23 88 0e 16 |.....#..|\n..#...|
|00000960| ab 8a 5c 6e 43 12 d7 0e | 06 0d 5c 6e 23 88 5c 6e |..\nC...|..\n#.\n|
|00000970| 2c 87 22 20 5b 6e 69 6c | 20 65 78 74 65 6e 74 70 |,." [nil| extentp|
|00000980| 20 70 72 65 76 69 6f 75 | 73 2d 65 78 74 65 6e 74 | previou|s-extent|
|00000990| 20 65 78 74 65 6e 74 2d | 6f 62 6a 65 63 74 20 62 | extent-|object b|
|000009a0| 75 66 66 65 72 2d 6c 69 | 76 65 2d 70 20 65 6e 64 |uffer-li|ve-p end|
|000009b0| 20 73 74 61 72 74 20 76 | 61 6c 69 64 20 62 75 66 | start v|alid buf|
|000009c0| 66 65 72 20 73 65 6c 65 | 63 74 69 6f 6e 20 6d 61 |fer sele|ction ma|
|000009d0| 72 6b 65 72 2d 62 75 66 | 66 65 72 20 65 78 74 65 |rker-buf|fer exte|
|000009e0| 6e 74 2d 73 74 61 72 74 | 2d 70 6f 73 69 74 69 6f |nt-start|-positio|
|000009f0| 6e 20 65 78 74 65 6e 74 | 2d 65 6e 64 2d 70 6f 73 |n extent|-end-pos|
|00000a00| 69 74 69 6f 6e 20 73 69 | 67 6e 61 6c 20 65 72 72 |ition si|gnal err|
|00000a10| 6f 72 20 22 69 6e 76 61 | 6c 69 64 20 73 65 6c 65 |or "inva|lid sele|
|00000a20| 63 74 69 6f 6e 22 20 28 | 62 79 74 65 2d 63 6f 64 |ction" (|byte-cod|
|00000a30| 65 20 22 08 3c ab 87 c1 | c2 08 5c 22 88 aa 84 c2 |e ".<...|..\"....|
|00000a40| 08 21 88 c1 87 22 20 5b | 70 72 65 76 69 6f 75 73 |.!..." [|previous|
|00000a50| 2d 65 78 74 65 6e 74 20 | 6d 61 70 63 61 72 20 64 |-extent |mapcar d|
|00000a60| 65 6c 65 74 65 2d 65 78 | 74 65 6e 74 5d 20 33 29 |elete-ex|tent] 3)|
|00000a70| 20 28 28 65 72 72 6f 72 | 29 29 20 73 65 74 2d 65 | ((error|)) set-e|
|00000a80| 78 74 65 6e 74 2d 65 6e | 64 70 6f 69 6e 74 73 20 |xtent-en|dpoints |
|00000a90| 6d 61 6b 65 2d 65 78 74 | 65 6e 74 20 73 65 74 2d |make-ext|ent set-|
|00000aa0| 65 78 74 65 6e 74 2d 70 | 72 6f 70 65 72 74 79 20 |extent-p|roperty |
|00000ab0| 65 6e 64 2d 6f 70 65 6e | 20 6d 6f 75 73 65 2d 74 |end-open| mouse-t|
|00000ac0| 72 61 63 6b 2d 72 65 63 | 74 61 6e 67 6c 65 2d 70 |rack-rec|tangle-p|
|00000ad0| 20 64 65 66 61 75 6c 74 | 2d 6d 6f 75 73 65 2d 74 | default|-mouse-t|
|00000ae0| 72 61 63 6b 2d 6e 65 78 | 74 2d 6d 6f 76 65 2d 72 |rack-nex|t-move-r|
|00000af0| 65 63 74 5d 20 34 5d 29 | 0a 23 40 37 32 32 20 4d |ect] 4])|.#@722 M|
|00000b00| 61 6b 65 20 61 6e 20 58 | 20 57 69 6e 64 6f 77 73 |ake an X| Windows|
|00000b10| 20 73 65 6c 65 63 74 69 | 6f 6e 20 6f 66 20 74 79 | selecti|on of ty|
|00000b20| 70 65 20 54 59 50 45 20 | 61 6e 64 20 76 61 6c 75 |pe TYPE |and valu|
|00000b30| 65 20 44 41 54 41 2e 0a | 54 68 65 20 61 72 67 75 |e DATA..|The argu|
|00000b40| 6d 65 6e 74 20 54 59 50 | 45 20 28 64 65 66 61 75 |ment TYP|E (defau|
|00000b50| 6c 74 20 60 50 52 49 4d | 41 52 59 27 29 20 73 61 |lt `PRIM|ARY') sa|
|00000b60| 79 73 20 77 68 69 63 68 | 20 73 65 6c 65 63 74 69 |ys which| selecti|
|00000b70| 6f 6e 2c 20 0a 61 6e 64 | 20 44 41 54 41 20 73 70 |on, .and| DATA sp|
|00000b80| 65 63 69 66 69 65 73 20 | 74 68 65 20 63 6f 6e 74 |ecifies |the cont|
|00000b90| 65 6e 74 73 2e 20 20 44 | 41 54 41 20 6d 61 79 20 |ents. D|ATA may |
|00000ba0| 62 65 20 61 20 73 74 72 | 69 6e 67 2c 0a 61 20 73 |be a str|ing,.a s|
|00000bb0| 79 6d 62 6f 6c 2c 20 61 | 6e 20 69 6e 74 65 67 65 |ymbol, a|n intege|
|00000bc0| 72 20 28 6f 72 20 61 20 | 63 6f 6e 73 20 6f 66 20 |r (or a |cons of |
|00000bd0| 74 77 6f 20 69 6e 74 65 | 67 65 72 73 20 6f 72 20 |two inte|gers or |
|00000be0| 6c 69 73 74 20 6f 66 20 | 74 77 6f 20 69 6e 74 65 |list of |two inte|
|00000bf0| 67 65 72 73 29 2e 0a 0a | 54 68 65 20 73 65 6c 65 |gers)...|The sele|
|00000c00| 63 74 69 6f 6e 20 6d 61 | 79 20 61 6c 73 6f 20 62 |ction ma|y also b|
|00000c10| 65 20 61 20 63 6f 6e 73 | 20 6f 66 20 74 77 6f 20 |e a cons| of two |
|00000c20| 6d 61 72 6b 65 72 73 20 | 70 6f 69 6e 74 69 6e 67 |markers |pointing|
|00000c30| 20 74 6f 20 74 68 65 20 | 73 61 6d 65 20 62 75 66 | to the |same buf|
|00000c40| 66 65 72 2c 0a 6f 72 20 | 61 6e 20 6f 76 65 72 6c |fer,.or |an overl|
|00000c50| 61 79 2e 20 20 49 6e 20 | 74 68 65 73 65 20 63 61 |ay. In |these ca|
|00000c60| 73 65 73 2c 20 74 68 65 | 20 73 65 6c 65 63 74 69 |ses, the| selecti|
|00000c70| 6f 6e 20 69 73 20 63 6f | 6e 73 69 64 65 72 65 64 |on is co|nsidered|
|00000c80| 20 74 6f 20 62 65 20 74 | 68 65 20 74 65 78 74 20 | to be t|he text |
|00000c90| 0a 62 65 74 77 65 65 6e | 20 74 68 65 20 6d 61 72 |.between| the mar|
|00000ca0| 6b 65 72 73 20 2a 61 74 | 20 77 68 61 74 65 76 65 |kers *at| whateve|
|00000cb0| 72 20 74 69 6d 65 20 74 | 68 65 20 73 65 6c 65 63 |r time t|he selec|
|00000cc0| 74 69 6f 6e 20 69 73 20 | 65 78 61 6d 69 6e 65 64 |tion is |examined|
|00000cd0| 2a 2e 0a 54 68 75 73 2c | 20 65 64 69 74 69 6e 67 |*..Thus,| editing|
|00000ce0| 20 64 6f 6e 65 20 69 6e | 20 74 68 65 20 62 75 66 | done in| the buf|
|00000cf0| 66 65 72 20 61 66 74 65 | 72 20 79 6f 75 20 73 70 |fer afte|r you sp|
|00000d00| 65 63 69 66 79 20 74 68 | 65 20 73 65 6c 65 63 74 |ecify th|e select|
|00000d10| 69 6f 6e 0a 63 61 6e 20 | 61 6c 74 65 72 20 74 68 |ion.can |alter th|
|00000d20| 65 20 65 66 66 65 63 74 | 69 76 65 20 76 61 6c 75 |e effect|ive valu|
|00000d30| 65 20 6f 66 20 74 68 65 | 20 73 65 6c 65 63 74 69 |e of the| selecti|
|00000d40| 6f 6e 2e 0a 0a 54 68 65 | 20 64 61 74 61 20 6d 61 |on...The| data ma|
|00000d50| 79 20 61 6c 73 6f 20 62 | 65 20 61 20 76 65 63 74 |y also b|e a vect|
|00000d60| 6f 72 20 6f 66 20 76 61 | 6c 69 64 20 6e 6f 6e 2d |or of va|lid non-|
|00000d70| 76 65 63 74 6f 72 20 73 | 65 6c 65 63 74 69 6f 6e |vector s|election|
|00000d80| 20 76 61 6c 75 65 73 2e | 0a 0a 49 6e 74 65 72 61 | values.|..Intera|
|00000d90| 63 74 69 76 65 6c 79 2c | 20 74 68 65 20 74 65 78 |ctively,| the tex|
|00000da0| 74 20 6f 66 20 74 68 65 | 20 72 65 67 69 6f 6e 20 |t of the| region |
|00000db0| 69 73 20 75 73 65 64 20 | 61 73 20 74 68 65 20 73 |is used |as the s|
|00000dc0| 65 6c 65 63 74 69 6f 6e | 20 76 61 6c 75 65 2e 1f |election| value..|
|00000dd0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 78 2d 6f 77 |.(defali|as 'x-ow|
|00000de0| 6e 2d 73 65 6c 65 63 74 | 69 6f 6e 20 23 5b 28 64 |n-select|ion #[(d|
|00000df0| 61 74 61 20 26 6f 70 74 | 69 6f 6e 61 6c 20 74 79 |ata &opt|ional ty|
|00000e00| 70 65 29 20 22 c0 09 21 | ac aa c2 09 21 ab 9e c3 |pe) "..!|....!...|
|00000e10| 09 47 53 1c 1d 0c c6 59 | ab 8f c0 09 0c 48 21 ac |.GS....Y|.....H!.|
|00000e20| 82 c7 15 0c 53 89 14 aa | 6d 0d 2a ac 87 c8 c9 ca |....S...|m.*.....|
|00000e30| 09 44 5c 22 88 0e 0b ac | 83 cc 16 0b 09 ab 88 cd |.D\"....|........|
|00000e40| 0e 0b 09 5c 22 88 aa 85 | ce 0e 0b 21 88 0e 0b cc |...\"...|...!....|
|00000e50| 61 ab 89 cf 09 0e 10 5c | 22 16 10 aa 8d 0e 0b d1 |a......\|".......|
|00000e60| 61 ab 87 cf 09 0e 12 5c | 22 16 12 c3 16 13 09 87 |a......\|".......|
|00000e70| 22 20 5b 78 2d 76 61 6c | 69 64 2d 73 69 6d 70 6c |" [x-val|id-simpl|
|00000e80| 65 2d 73 65 6c 65 63 74 | 69 6f 6e 2d 70 20 64 61 |e-select|ion-p da|
|00000e90| 74 61 20 76 65 63 74 6f | 72 70 20 74 20 69 20 76 |ta vecto|rp t i v|
|00000ea0| 61 6c 69 64 20 30 20 6e | 69 6c 20 73 69 67 6e 61 |alid 0 n|il signa|
|00000eb0| 6c 20 65 72 72 6f 72 20 | 22 69 6e 76 61 6c 69 64 |l error |"invalid|
|00000ec0| 20 73 65 6c 65 63 74 69 | 6f 6e 22 20 74 79 70 65 | selecti|on" type|
|00000ed0| 20 50 52 49 4d 41 52 59 | 20 78 2d 6f 77 6e 2d 73 | PRIMARY| x-own-s|
|00000ee0| 65 6c 65 63 74 69 6f 6e | 2d 69 6e 74 65 72 6e 61 |election|-interna|
|00000ef0| 6c 20 78 2d 64 69 73 6f | 77 6e 2d 73 65 6c 65 63 |l x-diso|wn-selec|
|00000f00| 74 69 6f 6e 2d 69 6e 74 | 65 72 6e 61 6c 20 78 2d |tion-int|ernal x-|
|00000f10| 73 65 6c 65 63 74 2d 6d | 61 6b 65 2d 65 78 74 65 |select-m|ake-exte|
|00000f20| 6e 74 2d 66 6f 72 2d 73 | 65 6c 65 63 74 69 6f 6e |nt-for-s|election|
|00000f30| 20 70 72 69 6d 61 72 79 | 2d 73 65 6c 65 63 74 69 | primary|-selecti|
|00000f40| 6f 6e 2d 65 78 74 65 6e | 74 20 53 45 43 4f 4e 44 |on-exten|t SECOND|
|00000f50| 41 52 59 20 73 65 63 6f | 6e 64 61 72 79 2d 73 65 |ARY seco|ndary-se|
|00000f60| 6c 65 63 74 69 6f 6e 2d | 65 78 74 65 6e 74 20 7a |lection-|extent z|
|00000f70| 6d 61 63 73 2d 72 65 67 | 69 6f 6e 2d 73 74 61 79 |macs-reg|ion-stay|
|00000f80| 73 5d 20 35 20 28 23 24 | 20 2e 20 32 38 31 35 29 |s] 5 (#$| . 2815)|
|00000f90| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 08 ac 85 | (byte-c|ode "...|
|00000fa0| c1 c2 21 43 87 c3 20 c4 | 20 c5 4f 43 87 22 20 5b |..!C.. .| .OC." [|
|00000fb0| 63 75 72 72 65 6e 74 2d | 70 72 65 66 69 78 2d 61 |current-|prefix-a|
|00000fc0| 72 67 20 72 65 61 64 2d | 73 74 72 69 6e 67 20 22 |rg read-|string "|
|00000fd0| 53 74 6f 72 65 20 74 65 | 78 74 20 66 6f 72 20 70 |Store te|xt for p|
|00000fe0| 61 73 74 69 6e 67 3a 20 | 22 20 72 65 67 69 6f 6e |asting: |" region|
|00000ff0| 2d 62 65 67 69 6e 6e 69 | 6e 67 20 72 65 67 69 6f |-beginni|ng regio|
|00001000| 6e 2d 65 6e 64 20 6e 69 | 6c 5d 20 33 29 5d 29 0a |n-end ni|l] 3)]).|
|00001010| 28 64 65 66 61 6c 69 61 | 73 20 27 78 2d 76 61 6c |(defalia|s 'x-val|
|00001020| 69 64 2d 73 69 6d 70 6c | 65 2d 73 65 6c 65 63 74 |id-simpl|e-select|
|00001030| 69 6f 6e 2d 70 20 23 5b | 28 64 61 74 61 29 20 22 |ion-p #[|(data) "|
|00001040| 08 3b ae d7 08 a8 ae d3 | 08 3a ab 95 08 40 a8 ab |.;......|.:...@..|
|00001050| 90 08 41 a8 ae c5 08 41 | 3a ab 86 08 41 40 a8 ae |..A....A|:...A@..|
|00001060| ba c1 08 21 ae b5 08 3a | ad b1 c2 08 40 21 ad ab |...!...:|....@!..|
|00001070| c2 08 41 21 ad a5 c3 08 | 40 21 ad 9f c3 08 41 21 |..A!....|@!....A!|
|00001080| ad 99 c3 08 40 21 c3 08 | 41 21 61 ad 8e c4 c3 08 |....@!..|A!a.....|
|00001090| 40 21 21 ad 86 c4 c3 08 | 41 21 21 87 22 20 5b 64 |@!!.....|A!!." [d|
|000010a0| 61 74 61 20 65 78 74 65 | 6e 74 70 20 6d 61 72 6b |ata exte|ntp mark|
|000010b0| 65 72 70 20 6d 61 72 6b | 65 72 2d 62 75 66 66 65 |erp mark|er-buffe|
|000010c0| 72 20 62 75 66 66 65 72 | 2d 6c 69 76 65 2d 70 5d |r buffer|-live-p]|
|000010d0| 20 33 5d 29 0a 23 40 31 | 39 31 20 4d 61 6b 65 20 | 3]).#@1|91 Make |
|000010e0| 61 20 73 65 63 6f 6e 64 | 61 72 79 20 58 20 53 65 |a second|ary X Se|
|000010f0| 6c 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 67 |lection |of the g|
|00001100| 69 76 65 6e 20 61 72 67 | 75 6d 65 6e 74 2e 20 20 |iven arg|ument. |
|00001110| 54 68 65 20 61 72 67 75 | 6d 65 6e 74 20 6d 61 79 |The argu|ment may|
|00001120| 20 62 65 20 61 20 0a 73 | 74 72 69 6e 67 20 6f 72 | be a .s|tring or|
|00001130| 20 61 20 63 6f 6e 73 20 | 6f 66 20 74 77 6f 20 6d | a cons |of two m|
|00001140| 61 72 6b 65 72 73 20 28 | 69 6e 20 77 68 69 63 68 |arkers (|in which|
|00001150| 20 63 61 73 65 20 74 68 | 65 20 73 65 6c 65 63 74 | case th|e select|
|00001160| 69 6f 6e 20 69 73 20 63 | 6f 6e 73 69 64 65 72 65 |ion is c|onsidere|
|00001170| 64 20 74 6f 0a 62 65 20 | 74 68 65 20 74 65 78 74 |d to.be |the text|
|00001180| 20 62 65 74 77 65 65 6e | 20 74 68 6f 73 65 20 6d | between| those m|
|00001190| 61 72 6b 65 72 73 29 2e | 1f 0a 28 64 65 66 61 6c |arkers).|..(defal|
|000011a0| 69 61 73 20 27 78 2d 6f | 77 6e 2d 73 65 63 6f 6e |ias 'x-o|wn-secon|
|000011b0| 64 61 72 79 2d 73 65 6c | 65 63 74 69 6f 6e 20 23 |dary-sel|ection #|
|000011c0| 5b 28 73 65 6c 65 63 74 | 69 6f 6e 20 26 6f 70 74 |[(select|ion &opt|
|000011d0| 69 6f 6e 61 6c 20 74 79 | 70 65 29 20 22 c0 09 c2 |ional ty|pe) "...|
|000011e0| 5c 22 87 22 20 5b 78 2d | 6f 77 6e 2d 73 65 6c 65 |\"." [x-|own-sele|
|000011f0| 63 74 69 6f 6e 20 73 65 | 6c 65 63 74 69 6f 6e 20 |ction se|lection |
|00001200| 53 45 43 4f 4e 44 41 52 | 59 5d 20 33 20 28 23 24 |SECONDAR|Y] 3 (#$|
|00001210| 20 2e 20 34 33 31 35 29 | 20 28 62 79 74 65 2d 63 | . 4315)| (byte-c|
|00001220| 6f 64 65 20 22 08 ac 85 | c1 c2 21 43 87 c3 c4 20 |ode "...|..!C... |
|00001230| 21 c3 c5 20 21 42 43 87 | 22 20 5b 63 75 72 72 65 |!.. !BC.|" [curre|
|00001240| 6e 74 2d 70 72 65 66 69 | 78 2d 61 72 67 20 72 65 |nt-prefi|x-arg re|
|00001250| 61 64 2d 73 74 72 69 6e | 67 20 22 53 74 6f 72 65 |ad-strin|g "Store|
|00001260| 20 74 65 78 74 20 66 6f | 72 20 70 61 73 74 69 6e | text fo|r pastin|
|00001270| 67 3a 20 22 20 63 6f 70 | 79 2d 6d 61 72 6b 65 72 |g: " cop|y-marker|
|00001280| 20 70 6f 69 6e 74 2d 6d | 61 72 6b 65 72 20 6d 61 | point-m|arker ma|
|00001290| 72 6b 2d 6d 61 72 6b 65 | 72 5d 20 33 29 5d 29 0a |rk-marke|r] 3)]).|
|000012a0| 23 40 34 34 20 50 61 73 | 74 65 20 74 68 65 20 67 |#@44 Pas|te the g|
|000012b0| 69 76 65 6e 20 73 74 72 | 69 6e 67 20 74 6f 20 74 |iven str|ing to t|
|000012c0| 68 65 20 58 20 43 6c 69 | 70 62 6f 61 72 64 2e 1f |he X Cli|pboard..|
|000012d0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 78 2d 6f 77 |.(defali|as 'x-ow|
|000012e0| 6e 2d 63 6c 69 70 62 6f | 61 72 64 20 23 5b 28 73 |n-clipbo|ard #[(s|
|000012f0| 74 72 69 6e 67 29 20 22 | c0 09 c2 5c 22 87 22 20 |tring) "|...\"." |
|00001300| 5b 78 2d 6f 77 6e 2d 73 | 65 6c 65 63 74 69 6f 6e |[x-own-s|election|
|00001310| 20 73 74 72 69 6e 67 20 | 43 4c 49 50 42 4f 41 52 | string |CLIPBOAR|
|00001320| 44 5d 20 33 20 28 23 24 | 20 2e 20 34 37 37 33 29 |D] 3 (#$| . 4773)|
|00001330| 5d 29 0a 23 40 31 32 38 | 20 41 73 73 75 6d 69 6e |]).#@128| Assumin|
|00001340| 67 20 77 65 20 6f 77 6e | 20 74 68 65 20 73 65 6c |g we own| the sel|
|00001350| 65 63 74 69 6f 6e 2c 20 | 64 69 73 6f 77 6e 20 69 |ection, |disown i|
|00001360| 74 2e 20 20 57 69 74 68 | 20 61 6e 20 61 72 67 75 |t. With| an argu|
|00001370| 6d 65 6e 74 2c 20 64 69 | 73 63 61 72 64 20 74 68 |ment, di|scard th|
|00001380| 65 0a 73 65 63 6f 6e 64 | 61 72 79 20 73 65 6c 65 |e.second|ary sele|
|00001390| 63 74 69 6f 6e 20 69 6e | 73 74 65 61 64 20 6f 66 |ction in|stead of|
|000013a0| 20 74 68 65 20 70 72 69 | 6d 61 72 79 20 73 65 6c | the pri|mary sel|
|000013b0| 65 63 74 69 6f 6e 2e 1f | 0a 28 64 65 66 61 6c 69 |ection..|.(defali|
|000013c0| 61 73 20 27 78 2d 64 69 | 73 6f 77 6e 2d 73 65 6c |as 'x-di|sown-sel|
|000013d0| 65 63 74 69 6f 6e 20 23 | 5b 28 26 6f 70 74 69 6f |ection #|[(&optio|
|000013e0| 6e 61 6c 20 73 65 63 6f | 6e 64 61 72 79 2d 70 29 |nal seco|ndary-p)|
|000013f0| 20 22 c0 09 ab 83 c2 aa | 81 c3 21 87 22 20 5b 78 | "......|..!." [x|
|00001400| 2d 64 69 73 6f 77 6e 2d | 73 65 6c 65 63 74 69 6f |-disown-|selectio|
|00001410| 6e 2d 69 6e 74 65 72 6e | 61 6c 20 73 65 63 6f 6e |n-intern|al secon|
|00001420| 64 61 72 79 2d 70 20 53 | 45 43 4f 4e 44 41 52 59 |dary-p S|ECONDARY|
|00001430| 20 50 52 49 4d 41 52 59 | 5d 20 32 20 28 23 24 20 | PRIMARY|] 2 (#$ |
|00001440| 2e 20 34 39 32 31 29 5d | 29 0a 23 40 34 39 20 66 |. 4921)]|).#@49 f|
|00001450| 6f 72 20 75 73 65 20 61 | 73 20 61 20 76 61 6c 75 |or use a|s a valu|
|00001460| 65 20 6f 66 20 60 78 2d | 6c 6f 73 74 2d 73 65 6c |e of `x-|lost-sel|
|00001470| 65 63 74 69 6f 6e 2d 68 | 6f 6f 6b 73 27 2e 1f 0a |ection-h|ooks'...|
|00001480| 28 64 65 66 61 6c 69 61 | 73 20 27 78 2d 64 65 68 |(defalia|s 'x-deh|
|00001490| 69 6c 69 67 68 74 2d 73 | 65 6c 65 63 74 69 6f 6e |ilight-s|election|
|000014a0| 20 23 5b 28 73 65 6c 65 | 63 74 69 6f 6e 29 20 22 | #[(sele|ction) "|
|000014b0| 08 c1 61 ab a0 5c 6e ab | 94 c3 1c 5c 6e 3a ab 87 |..a..\n.|...\n:..|
|000014c0| c5 c6 5c 6e 5c 22 88 aa | 84 c6 5c 6e 21 88 c7 12 |..\n\"..|..\n!...|
|000014d0| 29 0e 08 ab a6 c9 20 88 | aa a1 08 ca 61 ab 9c 0e |)..... .|....a...|
|000014e0| 0b ab 98 c3 1c 0e 0b 3a | ab 88 c5 c6 0e 0b 5c 22 |.......:|......\"|
|000014f0| 88 aa 85 c6 0e 0b 21 88 | c7 16 0b 29 c7 87 22 20 |......!.|...).." |
|00001500| 5b 73 65 6c 65 63 74 69 | 6f 6e 20 50 52 49 4d 41 |[selecti|on PRIMA|
|00001510| 52 59 20 70 72 69 6d 61 | 72 79 2d 73 65 6c 65 63 |RY prima|ry-selec|
|00001520| 74 69 6f 6e 2d 65 78 74 | 65 6e 74 20 74 20 69 6e |tion-ext|ent t in|
|00001530| 68 69 62 69 74 2d 71 75 | 69 74 20 6d 61 70 63 61 |hibit-qu|it mapca|
|00001540| 72 20 64 65 6c 65 74 65 | 2d 65 78 74 65 6e 74 20 |r delete|-extent |
|00001550| 6e 69 6c 20 7a 6d 61 63 | 73 2d 72 65 67 69 6f 6e |nil zmac|s-region|
|00001560| 73 20 7a 6d 61 63 73 2d | 64 65 61 63 74 69 76 61 |s zmacs-|deactiva|
|00001570| 74 65 2d 72 65 67 69 6f | 6e 20 53 45 43 4f 4e 44 |te-regio|n SECOND|
|00001580| 41 52 59 20 73 65 63 6f | 6e 64 61 72 79 2d 73 65 |ARY seco|ndary-se|
|00001590| 6c 65 63 74 69 6f 6e 2d | 65 78 74 65 6e 74 5d 20 |lection-|extent] |
|000015a0| 33 20 28 23 24 20 2e 20 | 35 31 39 39 29 5d 29 0a |3 (#$ . |5199)]).|
|000015b0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 11 c0 87 |(byte-co|de "....|
|000015c0| 22 20 5b 78 2d 64 65 68 | 69 6c 69 67 68 74 2d 73 |" [x-deh|ilight-s|
|000015d0| 65 6c 65 63 74 69 6f 6e | 20 78 2d 6c 6f 73 74 2d |election| x-lost-|
|000015e0| 73 65 6c 65 63 74 69 6f | 6e 2d 68 6f 6f 6b 73 5d |selectio|n-hooks]|
|000015f0| 20 31 29 0a 23 40 35 38 | 20 66 6f 72 20 70 6f 73 | 1).#@58| for pos|
|00001600| 73 69 62 6c 65 20 75 73 | 65 20 61 73 20 74 68 65 |sible us|e as the|
|00001610| 20 76 61 6c 75 65 20 6f | 66 20 78 2d 73 65 6e 74 | value o|f x-sent|
|00001620| 2d 73 65 6c 65 63 74 69 | 6f 6e 2d 68 6f 6f 6b 73 |-selecti|on-hooks|
|00001630| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 78 2d |...(defa|lias 'x-|
|00001640| 6e 6f 74 69 63 65 2d 73 | 65 6c 65 63 74 69 6f 6e |notice-s|election|
|00001650| 2d 72 65 71 75 65 73 74 | 73 20 23 5b 28 73 65 6c |-request|s #[(sel|
|00001660| 65 63 74 69 6f 6e 20 74 | 79 70 65 20 73 75 63 63 |ection t|ype succ|
|00001670| 65 73 73 66 75 6c 29 20 | 22 08 ac 86 c1 c2 0b 0c |essful) |".......|
|00001680| 23 87 c1 c5 0b 0c 23 87 | 22 20 5b 73 75 63 63 65 |#.....#.|" [succe|
|00001690| 73 73 66 75 6c 20 6d 65 | 73 73 61 67 65 20 22 53 |ssful me|ssage "S|
|000016a0| 65 6c 65 63 74 69 6f 6e | 20 72 65 71 75 65 73 74 |election| request|
|000016b0| 20 66 61 69 6c 65 64 20 | 74 6f 20 63 6f 6e 76 65 | failed |to conve|
|000016c0| 72 74 20 25 73 20 74 6f | 20 25 73 22 20 73 65 6c |rt %s to| %s" sel|
|000016d0| 65 63 74 69 6f 6e 20 74 | 79 70 65 20 22 53 65 6e |ection t|ype "Sen|
|000016e0| 74 20 73 65 6c 65 63 74 | 69 6f 6e 20 25 73 20 61 |t select|ion %s a|
|000016f0| 73 20 25 73 22 5d 20 34 | 20 28 23 24 20 2e 20 35 |s %s"] 4| (#$ . 5|
|00001700| 36 32 35 29 5d 29 0a 23 | 40 35 38 20 66 6f 72 20 |625)]).#|@58 for |
|00001710| 70 6f 73 73 69 62 6c 65 | 20 75 73 65 20 61 73 20 |possible| use as |
|00001720| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 78 2d 73 |the valu|e of x-s|
|00001730| 65 6e 74 2d 73 65 6c 65 | 63 74 69 6f 6e 2d 68 6f |ent-sele|ction-ho|
|00001740| 6f 6b 73 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |oks...(d|efalias |
|00001750| 27 78 2d 6e 6f 74 69 63 | 65 2d 73 65 6c 65 63 74 |'x-notic|e-select|
|00001760| 69 6f 6e 2d 66 61 69 6c | 75 72 65 73 20 23 5b 28 |ion-fail|ures #[(|
|00001770| 73 65 6c 65 63 74 69 6f | 6e 20 74 79 70 65 20 73 |selectio|n type s|
|00001780| 75 63 63 65 73 73 66 75 | 6c 29 20 22 08 ae 85 c1 |uccessfu|l) "....|
|00001790| c2 0b 0c 23 87 22 20 5b | 73 75 63 63 65 73 73 66 |...#." [|successf|
|000017a0| 75 6c 20 6d 65 73 73 61 | 67 65 20 22 53 65 6c 65 |ul messa|ge "Sele|
|000017b0| 63 74 69 6f 6e 20 72 65 | 71 75 65 73 74 20 66 61 |ction re|quest fa|
|000017c0| 69 6c 65 64 20 74 6f 20 | 63 6f 6e 76 65 72 74 20 |iled to |convert |
|000017d0| 25 73 20 74 6f 20 25 73 | 22 20 73 65 6c 65 63 74 |%s to %s|" select|
|000017e0| 69 6f 6e 20 74 79 70 65 | 5d 20 34 20 28 23 24 20 |ion type|] 4 (#$ |
|000017f0| 2e 20 35 39 30 30 29 5d | 29 0a 28 64 65 66 61 6c |. 5900)]|).(defal|
|00001800| 69 61 73 20 27 78 73 65 | 6c 65 63 74 2d 6b 69 6c |ias 'xse|lect-kil|
|00001810| 6c 2d 62 75 66 66 65 72 | 2d 68 6f 6f 6b 20 23 5b |l-buffer|-hook #[|
|00001820| 6e 69 6c 20 22 c0 c1 21 | 88 c0 c2 21 88 c0 c3 21 |nil "..!|...!...!|
|00001830| 87 22 20 5b 78 73 65 6c | 65 63 74 2d 6b 69 6c 6c |." [xsel|ect-kill|
|00001840| 2d 62 75 66 66 65 72 2d | 68 6f 6f 6b 2d 31 20 50 |-buffer-|hook-1 P|
|00001850| 52 49 4d 41 52 59 20 53 | 45 43 4f 4e 44 41 52 59 |RIMARY S|ECONDARY|
|00001860| 20 43 4c 49 50 42 4f 41 | 52 44 5d 20 32 5d 29 0a | CLIPBOA|RD] 2]).|
|00001870| 28 64 65 66 61 6c 69 61 | 73 20 27 78 73 65 6c 65 |(defalia|s 'xsele|
|00001880| 63 74 2d 6b 69 6c 6c 2d | 62 75 66 66 65 72 2d 68 |ct-kill-|buffer-h|
|00001890| 6f 6f 6b 2d 31 20 23 5b | 28 73 65 6c 65 63 74 69 |ook-1 #[|(selecti|
|000018a0| 6f 6e 29 20 22 c0 19 c2 | 0b 21 ad b4 c4 0b c5 5c |on) "...|.!.....\|
|000018b0| 22 89 11 ad ac 09 3a ab | 8e c6 09 40 21 ab 88 70 |".....:.|...@!..p|
|000018c0| c7 09 40 21 61 ac 97 c8 | 09 21 ab 87 70 c9 09 21 |..@!a...|.!..p..!|
|000018d0| 61 ac 8b ca 09 21 ad 89 | c8 09 21 3f ad 83 cb 0b |a....!..|..!?....|
|000018e0| 21 29 87 22 20 5b 6e 69 | 6c 20 76 61 6c 75 65 20 |!)." [ni|l value |
|000018f0| 78 2d 73 65 6c 65 63 74 | 69 6f 6e 2d 6f 77 6e 65 |x-select|ion-owne|
|00001900| 72 2d 70 20 73 65 6c 65 | 63 74 69 6f 6e 20 78 2d |r-p sele|ction x-|
|00001910| 67 65 74 2d 73 65 6c 65 | 63 74 69 6f 6e 2d 69 6e |get-sele|ction-in|
|00001920| 74 65 72 6e 61 6c 20 5f | 45 4d 41 43 53 5f 49 4e |ternal _|EMACS_IN|
|00001930| 54 45 52 4e 41 4c 20 6d | 61 72 6b 65 72 70 20 6d |TERNAL m|arkerp m|
|00001940| 61 72 6b 65 72 2d 62 75 | 66 66 65 72 20 65 78 74 |arker-bu|ffer ext|
|00001950| 65 6e 74 2d 6c 69 76 65 | 2d 70 20 65 78 74 65 6e |ent-live|-p exten|
|00001960| 74 2d 6f 62 6a 65 63 74 | 20 65 78 74 65 6e 74 70 |t-object| extentp|
|00001970| 20 78 2d 64 69 73 6f 77 | 6e 2d 73 65 6c 65 63 74 | x-disow|n-select|
|00001980| 69 6f 6e 2d 69 6e 74 65 | 72 6e 61 6c 5d 20 33 5d |ion-inte|rnal] 3]|
|00001990| 29 0a 23 40 32 38 35 20 | 52 65 74 75 72 6e 73 20 |).#@285 |Returns |
|000019a0| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 6f 6e 65 |the valu|e of one|
|000019b0| 20 6f 66 20 74 68 65 20 | 38 20 58 20 73 65 72 76 | of the |8 X serv|
|000019c0| 65 72 20 63 75 74 20 62 | 75 66 66 65 72 73 2e 20 |er cut b|uffers. |
|000019d0| 20 4f 70 74 69 6f 6e 61 | 6c 20 61 72 67 0a 57 48 | Optiona|l arg.WH|
|000019e0| 49 43 48 2d 4f 4e 45 20 | 73 68 6f 75 6c 64 20 62 |ICH-ONE |should b|
|000019f0| 65 20 61 20 6e 75 6d 62 | 65 72 20 66 72 6f 6d 20 |e a numb|er from |
|00001a00| 30 20 74 6f 20 37 2c 20 | 64 65 66 61 75 6c 74 69 |0 to 7, |defaulti|
|00001a10| 6e 67 20 74 6f 20 30 2e | 0a 43 75 74 20 62 75 66 |ng to 0.|.Cut buf|
|00001a20| 66 65 72 73 20 61 72 65 | 20 63 6f 6e 73 69 64 65 |fers are| conside|
|00001a30| 72 65 64 20 6f 62 73 6f | 6c 65 74 65 3b 20 79 6f |red obso|lete; yo|
|00001a40| 75 20 73 68 6f 75 6c 64 | 20 75 73 65 20 73 65 6c |u should| use sel|
|00001a50| 65 63 74 69 6f 6e 73 20 | 69 6e 73 74 65 61 64 2e |ections |instead.|
|00001a60| 0a 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 64 |.This fu|nction d|
|00001a70| 6f 65 73 20 6e 6f 74 68 | 69 6e 67 20 69 66 20 73 |oes noth|ing if s|
|00001a80| 75 70 70 6f 72 74 20 66 | 6f 72 20 63 75 74 20 62 |upport f|or cut b|
|00001a90| 75 66 66 65 72 73 20 77 | 61 73 20 6e 6f 74 20 63 |uffers w|as not c|
|00001aa0| 6f 6d 70 69 6c 65 64 0a | 69 6e 74 6f 20 45 6d 61 |ompiled.|into Ema|
|00001ab0| 63 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |cs...(de|falias '|
|00001ac0| 78 2d 67 65 74 2d 63 75 | 74 62 75 66 66 65 72 20 |x-get-cu|tbuffer |
|00001ad0| 23 5b 28 26 6f 70 74 69 | 6f 6e 61 6c 20 77 68 69 |#[(&opti|onal whi|
|00001ae0| 63 68 2d 6f 6e 65 29 20 | 22 c0 c1 21 ad 8b c1 5c |ch-one) |"..!...\|
|00001af0| 6e ab 85 c3 5c 6e 48 aa | 81 c4 21 87 22 20 5b 66 |n...\nH.|..!." [f|
|00001b00| 62 6f 75 6e 64 70 20 78 | 2d 67 65 74 2d 63 75 74 |boundp x|-get-cut|
|00001b10| 62 75 66 66 65 72 2d 69 | 6e 74 65 72 6e 61 6c 20 |buffer-i|nternal |
|00001b20| 77 68 69 63 68 2d 6f 6e | 65 20 5b 43 55 54 5f 42 |which-on|e [CUT_B|
|00001b30| 55 46 46 45 52 30 20 43 | 55 54 5f 42 55 46 46 45 |UFFER0 C|UT_BUFFE|
|00001b40| 52 31 20 43 55 54 5f 42 | 55 46 46 45 52 32 20 43 |R1 CUT_B|UFFER2 C|
|00001b50| 55 54 5f 42 55 46 46 45 | 52 33 20 43 55 54 5f 42 |UT_BUFFE|R3 CUT_B|
|00001b60| 55 46 46 45 52 34 20 43 | 55 54 5f 42 55 46 46 45 |UFFER4 C|UT_BUFFE|
|00001b70| 52 35 20 43 55 54 5f 42 | 55 46 46 45 52 36 20 43 |R5 CUT_B|UFFER6 C|
|00001b80| 55 54 5f 42 55 46 46 45 | 52 37 5d 20 43 55 54 5f |UT_BUFFE|R7] CUT_|
|00001b90| 42 55 46 46 45 52 30 5d | 20 33 20 28 23 24 20 2e |BUFFER0]| 3 (#$ .|
|00001ba0| 20 36 35 35 32 29 5d 29 | 0a 23 40 34 30 35 20 53 | 6552)])|.#@405 S|
|00001bb0| 74 6f 72 65 20 53 54 52 | 49 4e 47 20 69 6e 74 6f |tore STR|ING into|
|00001bc0| 20 74 68 65 20 58 20 73 | 65 72 76 65 72 27 73 20 | the X s|erver's |
|00001bd0| 70 72 69 6d 61 72 79 20 | 63 75 74 20 62 75 66 66 |primary |cut buff|
|00001be0| 65 72 2e 0a 49 66 20 50 | 55 53 48 20 69 73 20 6e |er..If P|USH is n|
|00001bf0| 6f 6e 2d 6e 69 6c 2c 20 | 61 6c 73 6f 20 72 6f 74 |on-nil, |also rot|
|00001c00| 61 74 65 20 74 68 65 20 | 63 75 74 20 62 75 66 66 |ate the |cut buff|
|00001c10| 65 72 73 3a 0a 74 68 69 | 73 20 6d 65 61 6e 73 20 |ers:.thi|s means |
|00001c20| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 76 61 6c |the prev|ious val|
|00001c30| 75 65 20 6f 66 20 74 68 | 65 20 70 72 69 6d 61 72 |ue of th|e primar|
|00001c40| 79 20 63 75 74 20 62 75 | 66 66 65 72 20 6d 6f 76 |y cut bu|ffer mov|
|00001c50| 65 73 20 74 68 65 20 73 | 65 63 6f 6e 64 0a 63 75 |es the s|econd.cu|
|00001c60| 74 20 62 75 66 66 65 72 | 2c 20 61 6e 64 20 74 68 |t buffer|, and th|
|00001c70| 65 20 73 65 63 6f 6e 64 | 20 74 6f 20 74 68 65 20 |e second| to the |
|00001c80| 74 68 69 72 64 2c 20 61 | 6e 64 20 73 6f 20 6f 6e |third, a|nd so on|
|00001c90| 20 28 74 68 65 72 65 20 | 61 72 65 20 38 20 62 75 | (there |are 8 bu|
|00001ca0| 66 66 65 72 73 2e 29 0a | 43 75 74 20 62 75 66 66 |ffers.).|Cut buff|
|00001cb0| 65 72 73 20 61 72 65 20 | 63 6f 6e 73 69 64 65 72 |ers are |consider|
|00001cc0| 65 64 20 6f 62 73 6f 6c | 65 74 65 3b 20 79 6f 75 |ed obsol|ete; you|
|00001cd0| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 73 65 6c 65 | should |use sele|
|00001ce0| 63 74 69 6f 6e 73 20 69 | 6e 73 74 65 61 64 2e 0a |ctions i|nstead..|
|00001cf0| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 64 6f |This fun|ction do|
|00001d00| 65 73 20 6e 6f 74 68 69 | 6e 67 20 69 66 20 73 75 |es nothi|ng if su|
|00001d10| 70 70 6f 72 74 20 66 6f | 72 20 63 75 74 20 62 75 |pport fo|r cut bu|
|00001d20| 66 66 65 72 73 20 77 61 | 73 20 6e 6f 74 20 63 6f |ffers wa|s not co|
|00001d30| 6d 70 69 6c 65 64 0a 69 | 6e 74 6f 20 45 6d 61 63 |mpiled.i|nto Emac|
|00001d40| 73 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 78 |s...(def|alias 'x|
|00001d50| 2d 73 74 6f 72 65 2d 63 | 75 74 62 75 66 66 65 72 |-store-c|utbuffer|
|00001d60| 20 23 5b 28 73 74 72 69 | 6e 67 20 26 6f 70 74 69 | #[(stri|ng &opti|
|00001d70| 6f 6e 61 6c 20 70 75 73 | 68 29 20 22 c0 c1 21 ad |onal pus|h) "..!.|
|00001d80| 8c 5c 6e ab 84 c3 c4 21 | 88 c1 c5 0e 06 5c 22 87 |.\n....!|.....\".|
|00001d90| 22 20 5b 66 62 6f 75 6e | 64 70 20 78 2d 73 74 6f |" [fboun|dp x-sto|
|00001da0| 72 65 2d 63 75 74 62 75 | 66 66 65 72 2d 69 6e 74 |re-cutbu|ffer-int|
|00001db0| 65 72 6e 61 6c 20 70 75 | 73 68 20 78 2d 72 6f 74 |ernal pu|sh x-rot|
|00001dc0| 61 74 65 2d 63 75 74 62 | 75 66 66 65 72 73 2d 69 |ate-cutb|uffers-i|
|00001dd0| 6e 74 65 72 6e 61 6c 20 | 31 20 43 55 54 5f 42 55 |nternal |1 CUT_BU|
|00001de0| 46 46 45 52 30 20 73 74 | 72 69 6e 67 5d 20 33 20 |FFER0 st|ring] 3 |
|00001df0| 28 23 24 20 2e 20 37 30 | 38 37 29 5d 29 0a 28 64 |(#$ . 70|87)]).(d|
|00001e00| 65 66 61 6c 69 61 73 20 | 27 78 2d 63 75 74 2d 63 |efalias |'x-cut-c|
|00001e10| 6f 70 79 2d 63 6c 65 61 | 72 2d 69 6e 74 65 72 6e |opy-clea|r-intern|
|00001e20| 61 6c 20 23 5b 28 6d 6f | 64 65 29 20 22 08 c1 73 |al #[(mo|de) "..s|
|00001e30| ac 85 c2 c3 08 5c 22 88 | c4 20 ac 84 c2 c5 21 88 |.....\".|. ....!.|
|00001e40| c6 16 07 0e 08 ac 84 c2 | c9 21 88 8a c6 89 89 89 |........|.!......|
|00001e50| 1e 5c 6e 1e 0b 1e 0c 1e | 0d 0e 08 3a ab 9c ce 16 |.\n.....|...:....|
|00001e60| 0d cf 0e 08 40 21 16 0c | d0 0e 08 40 21 16 0b d1 |....@!..|...@!...|
|00001e70| d2 0e 08 21 40 21 16 5c | 6e aa 95 c6 16 0d cf 0e |...!@!.\|n.......|
|00001e80| 08 21 16 0c d0 0e 08 21 | 16 0b d1 0e 08 21 16 5c |.!.....!|.....!.\|
|00001e90| 6e 0e 0c 71 88 08 d3 73 | ab af 0e 0d ab 93 d4 0e |n..q...s|........|
|00001ea0| 0b 0e 5c 6e 5c 22 16 15 | d6 d7 d8 0e 15 d9 23 21 |..\n\"..|......#!|
|00001eb0| 88 aa 87 da 0e 0b 0e 5c | 6e 5c 22 88 0e 1b 3a ab |.......\|n\"...:.|
|00001ec0| 86 dc 0e 1b 73 ac 86 dc | 0e 1d 40 21 88 08 de 73 |....s...|..@!...s|
|00001ed0| ab 93 0e 0d ab 89 df 0e | 0b 0e 5c 6e 5c 22 88 aa |........|..\n\"..|
|00001ee0| 86 0e 0b 0e 5c 6e 7c 88 | e0 c6 21 2d 87 22 20 5b |....\n|.|..!-." [|
|00001ef0| 6d 6f 64 65 20 28 63 75 | 74 20 63 6f 70 79 20 63 |mode (cu|t copy c|
|00001f00| 6c 65 61 72 29 20 65 72 | 72 6f 72 20 22 75 6e 6b |lear) er|ror "unk|
|00001f10| 6f 77 6e 20 6d 6f 64 65 | 20 25 53 22 20 78 2d 73 |own mode| %S" x-s|
|00001f20| 65 6c 65 63 74 69 6f 6e | 2d 6f 77 6e 65 72 2d 70 |election|-owner-p|
|00001f30| 20 22 65 6d 61 63 73 20 | 64 6f 65 73 20 6e 6f 74 | "emacs |does not|
|00001f40| 20 6f 77 6e 20 74 68 65 | 20 70 72 69 6d 61 72 79 | own the| primary|
|00001f50| 20 73 65 6c 65 63 74 69 | 6f 6e 22 20 6e 69 6c 20 | selecti|on" nil |
|00001f60| 6c 61 73 74 2d 63 6f 6d | 6d 61 6e 64 20 70 72 69 |last-com|mand pri|
|00001f70| 6d 61 72 79 2d 73 65 6c | 65 63 74 69 6f 6e 2d 65 |mary-sel|ection-e|
|00001f80| 78 74 65 6e 74 20 22 74 | 68 65 20 70 72 69 6d 61 |xtent "t|he prima|
|00001f90| 72 79 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 73 20 |ry selec|tion is |
|00001fa0| 6e 6f 74 20 61 6e 20 65 | 78 74 65 6e 74 3f 22 20 |not an e|xtent?" |
|00001fb0| 65 20 73 20 62 20 72 65 | 63 74 2d 70 20 74 20 65 |e s b re|ct-p t e|
|00001fc0| 78 74 65 6e 74 2d 6f 62 | 6a 65 63 74 20 65 78 74 |xtent-ob|ject ext|
|00001fd0| 65 6e 74 2d 73 74 61 72 | 74 2d 70 6f 73 69 74 69 |ent-star|t-positi|
|00001fe0| 6f 6e 20 65 78 74 65 6e | 74 2d 65 6e 64 2d 70 6f |on exten|t-end-po|
|00001ff0| 73 69 74 69 6f 6e 20 72 | 65 76 65 72 73 65 20 28 |sition r|everse (|
|00002000| 63 75 74 20 63 6f 70 79 | 29 20 65 78 74 72 61 63 |cut copy|) extrac|
|00002010| 74 2d 72 65 63 74 61 6e | 67 6c 65 20 6b 69 6c 6c |t-rectan|gle kill|
|00002020| 65 64 2d 72 65 63 74 61 | 6e 67 6c 65 20 6b 69 6c |ed-recta|ngle kil|
|00002030| 6c 2d 6e 65 77 20 6d 61 | 70 63 6f 6e 63 61 74 20 |l-new ma|pconcat |
|00002040| 69 64 65 6e 74 69 74 79 | 20 22 5c 6e 22 20 63 6f |identity| "\n" co|
|00002050| 70 79 2d 72 65 67 69 6f | 6e 2d 61 73 2d 6b 69 6c |py-regio|n-as-kil|
|00002060| 6c 20 6b 69 6c 6c 2d 68 | 6f 6f 6b 73 20 78 2d 6f |l kill-h|ooks x-o|
|00002070| 77 6e 2d 63 6c 69 70 62 | 6f 61 72 64 20 6b 69 6c |wn-clipb|oard kil|
|00002080| 6c 2d 72 69 6e 67 20 28 | 63 75 74 20 63 6c 65 61 |l-ring (|cut clea|
|00002090| 72 29 20 64 65 6c 65 74 | 65 2d 72 65 63 74 61 6e |r) delet|e-rectan|
|000020a0| 67 6c 65 20 78 2d 64 69 | 73 6f 77 6e 2d 73 65 6c |gle x-di|sown-sel|
|000020b0| 65 63 74 69 6f 6e 5d 20 | 35 5d 29 0a 23 40 35 36 |ection] |5]).#@56|
|000020c0| 20 43 6f 70 79 20 74 68 | 65 20 73 65 6c 65 63 74 | Copy th|e select|
|000020d0| 69 6f 6e 20 74 6f 20 74 | 68 65 20 43 6c 69 70 62 |ion to t|he Clipb|
|000020e0| 6f 61 72 64 20 61 6e 64 | 20 74 68 65 20 6b 69 6c |oard and| the kil|
|000020f0| 6c 20 72 69 6e 67 2e 1f | 0a 28 64 65 66 61 6c 69 |l ring..|.(defali|
|00002100| 61 73 20 27 78 2d 63 6f | 70 79 2d 70 72 69 6d 61 |as 'x-co|py-prima|
|00002110| 72 79 2d 73 65 6c 65 63 | 74 69 6f 6e 20 23 5b 6e |ry-selec|tion #[n|
|00002120| 69 6c 20 22 c0 c1 21 87 | 22 20 5b 78 2d 63 75 74 |il "..!.|" [x-cut|
|00002130| 2d 63 6f 70 79 2d 63 6c | 65 61 72 2d 69 6e 74 65 |-copy-cl|ear-inte|
|00002140| 72 6e 61 6c 20 63 6f 70 | 79 5d 20 32 20 28 23 24 |rnal cop|y] 2 (#$|
|00002150| 20 2e 20 38 33 38 35 29 | 20 6e 69 6c 5d 29 0a 23 | . 8385)| nil]).#|
|00002160| 40 37 32 20 43 6f 70 79 | 20 74 68 65 20 73 65 6c |@72 Copy| the sel|
|00002170| 65 63 74 69 6f 6e 20 74 | 6f 20 74 68 65 20 43 6c |ection t|o the Cl|
|00002180| 69 70 62 6f 61 72 64 20 | 61 6e 64 20 74 68 65 20 |ipboard |and the |
|00002190| 6b 69 6c 6c 20 72 69 6e | 67 2c 20 74 68 65 6e 20 |kill rin|g, then |
|000021a0| 64 65 6c 65 74 65 20 69 | 74 2e 1f 0a 28 64 65 66 |delete i|t...(def|
|000021b0| 61 6c 69 61 73 20 27 78 | 2d 6b 69 6c 6c 2d 70 72 |alias 'x|-kill-pr|
|000021c0| 69 6d 61 72 79 2d 73 65 | 6c 65 63 74 69 6f 6e 20 |imary-se|lection |
|000021d0| 23 5b 6e 69 6c 20 22 c0 | c1 21 87 22 20 5b 78 2d |#[nil ".|.!." [x-|
|000021e0| 63 75 74 2d 63 6f 70 79 | 2d 63 6c 65 61 72 2d 69 |cut-copy|-clear-i|
|000021f0| 6e 74 65 72 6e 61 6c 20 | 63 75 74 5d 20 32 20 28 |nternal |cut] 2 (|
|00002200| 23 24 20 2e 20 38 35 34 | 38 29 20 22 2a 22 5d 29 |#$ . 854|8) "*"])|
|00002210| 0a 23 40 37 36 20 44 65 | 6c 65 74 65 20 74 68 65 |.#@76 De|lete the|
|00002220| 20 73 65 6c 65 63 74 69 | 6f 6e 20 77 69 74 68 6f | selecti|on witho|
|00002230| 75 74 20 63 6f 70 79 69 | 6e 67 20 69 74 20 74 6f |ut copyi|ng it to|
|00002240| 20 74 68 65 20 43 6c 69 | 70 62 6f 61 72 64 20 6f | the Cli|pboard o|
|00002250| 72 20 74 68 65 20 6b 69 | 6c 6c 20 72 69 6e 67 2e |r the ki|ll ring.|
|00002260| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 78 2d 64 |..(defal|ias 'x-d|
|00002270| 65 6c 65 74 65 2d 70 72 | 69 6d 61 72 79 2d 73 65 |elete-pr|imary-se|
|00002280| 6c 65 63 74 69 6f 6e 20 | 23 5b 6e 69 6c 20 22 c0 |lection |#[nil ".|
|00002290| c1 21 87 22 20 5b 78 2d | 63 75 74 2d 63 6f 70 79 |.!." [x-|cut-copy|
|000022a0| 2d 63 6c 65 61 72 2d 69 | 6e 74 65 72 6e 61 6c 20 |-clear-i|nternal |
|000022b0| 63 6c 65 61 72 5d 20 32 | 20 28 23 24 20 2e 20 38 |clear] 2| (#$ . 8|
|000022c0| 37 32 36 29 20 22 2a 22 | 5d 29 0a 23 40 35 30 20 |726) "*"|]).#@50 |
|000022d0| 49 6e 73 65 72 74 20 74 | 68 65 20 63 75 72 72 65 |Insert t|he curre|
|000022e0| 6e 74 20 43 6c 69 70 62 | 6f 61 72 64 20 73 65 6c |nt Clipb|oard sel|
|000022f0| 65 63 74 69 6f 6e 20 61 | 74 20 70 6f 69 6e 74 2e |ection a|t point.|
|00002300| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 78 2d 79 |..(defal|ias 'x-y|
|00002310| 61 6e 6b 2d 63 6c 69 70 | 62 6f 61 72 64 2d 73 65 |ank-clip|board-se|
|00002320| 6c 65 63 74 69 6f 6e 20 | 23 5b 6e 69 6c 20 22 c0 |lection |#[nil ".|
|00002330| 11 c2 13 c4 20 89 1d ac | 84 c6 c7 21 88 c8 20 88 |.... ...|...!.. .|
|00002340| 0d 63 29 87 22 20 5b 6e | 69 6c 20 6c 61 73 74 2d |.c)." [n|il last-|
|00002350| 63 6f 6d 6d 61 6e 64 20 | 79 61 6e 6b 20 74 68 69 |command |yank thi|
|00002360| 73 2d 63 6f 6d 6d 61 6e | 64 20 78 2d 67 65 74 2d |s-comman|d x-get-|
|00002370| 63 6c 69 70 62 6f 61 72 | 64 20 63 6c 69 70 20 65 |clipboar|d clip e|
|00002380| 72 72 6f 72 20 22 74 68 | 65 72 65 20 69 73 20 6e |rror "th|ere is n|
|00002390| 6f 20 63 6c 69 70 62 6f | 61 72 64 20 73 65 6c 65 |o clipbo|ard sele|
|000023a0| 63 74 69 6f 6e 22 20 70 | 75 73 68 2d 6d 61 72 6b |ction" p|ush-mark|
|000023b0| 5d 20 33 20 28 23 24 20 | 2e 20 38 39 31 32 29 20 |] 3 (#$ |. 8912) |
|000023c0| 22 2a 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |"*"]).(d|efalias |
|000023d0| 27 78 73 65 6c 65 63 74 | 2d 63 6f 6e 76 65 72 74 |'xselect|-convert|
|000023e0| 2d 74 6f 2d 74 65 78 74 | 20 23 5b 28 73 65 6c 65 |-to-text| #[(sele|
|000023f0| 63 74 69 6f 6e 20 74 79 | 70 65 20 76 61 6c 75 65 |ction ty|pe value|
|00002400| 29 20 22 08 3b ab 82 08 | 87 c1 08 21 ab 92 8a c2 |) ".;...|...!....|
|00002410| 08 21 71 88 8c 7e 88 c3 | 08 21 c4 08 21 7b 2a 87 |.!q..~..|.!..!{*.|
|00002420| 08 3a ab b7 c5 08 40 21 | ab b1 c5 08 41 21 ab ab |.:....@!|....A!..|
|00002430| c6 08 40 21 c6 08 41 21 | 61 ac 8a c7 c8 c9 08 40 |..@!..A!|a......@|
|00002440| 08 41 45 5c 22 88 8a c6 | 08 40 21 ae 83 c8 ca 21 |.AE\"...|.@!....!|
|00002450| 71 88 8c 7e 88 08 40 08 | 41 7b 2a 87 cb 87 22 20 |q..~..@.|A{*..." |
|00002460| 5b 76 61 6c 75 65 20 65 | 78 74 65 6e 74 70 20 65 |[value e|xtentp e|
|00002470| 78 74 65 6e 74 2d 6f 62 | 6a 65 63 74 20 65 78 74 |xtent-ob|ject ext|
|00002480| 65 6e 74 2d 73 74 61 72 | 74 2d 70 6f 73 69 74 69 |ent-star|t-positi|
|00002490| 6f 6e 20 65 78 74 65 6e | 74 2d 65 6e 64 2d 70 6f |on exten|t-end-po|
|000024a0| 73 69 74 69 6f 6e 20 6d | 61 72 6b 65 72 70 20 6d |sition m|arkerp m|
|000024b0| 61 72 6b 65 72 2d 62 75 | 66 66 65 72 20 73 69 67 |arker-bu|ffer sig|
|000024c0| 6e 61 6c 20 65 72 72 6f | 72 20 22 6d 61 72 6b 65 |nal erro|r "marke|
|000024d0| 72 73 20 6d 75 73 74 20 | 62 65 20 69 6e 20 74 68 |rs must |be in th|
|000024e0| 65 20 73 61 6d 65 20 62 | 75 66 66 65 72 22 20 22 |e same b|uffer" "|
|000024f0| 73 65 6c 65 63 74 69 6f | 6e 20 69 73 20 69 6e 20 |selectio|n is in |
|00002500| 61 20 6b 69 6c 6c 65 64 | 20 62 75 66 66 65 72 22 |a killed| buffer"|
|00002510| 20 6e 69 6c 5d 20 35 5d | 29 0a 28 64 65 66 61 6c | nil] 5]|).(defal|
|00002520| 69 61 73 20 27 78 73 65 | 6c 65 63 74 2d 63 6f 6e |ias 'xse|lect-con|
|00002530| 76 65 72 74 2d 74 6f 2d | 73 74 72 69 6e 67 20 23 |vert-to-|string #|
|00002540| 5b 28 73 65 6c 65 63 74 | 69 6f 6e 20 74 79 70 65 |[(select|ion type|
|00002550| 20 76 61 6c 75 65 29 20 | 22 c0 09 5c 6e 0b 23 89 | value) |"..\n.#.|
|00002560| 1c 3b ab 85 c5 0c 42 aa | 81 0c 29 87 22 20 5b 78 |.;....B.|..)." [x|
|00002570| 73 65 6c 65 63 74 2d 63 | 6f 6e 76 65 72 74 2d 74 |select-c|onvert-t|
|00002580| 6f 2d 74 65 78 74 20 73 | 65 6c 65 63 74 69 6f 6e |o-text s|election|
|00002590| 20 74 79 70 65 20 76 61 | 6c 75 65 20 6f 75 74 76 | type va|lue outv|
|000025a0| 61 6c 20 53 54 52 49 4e | 47 5d 20 35 5d 29 0a 28 |al STRIN|G] 5]).(|
|000025b0| 64 65 66 61 6c 69 61 73 | 20 27 78 73 65 6c 65 63 |defalias| 'xselec|
|000025c0| 74 2d 63 6f 6e 76 65 72 | 74 2d 74 6f 2d 63 6f 6d |t-conver|t-to-com|
|000025d0| 70 6f 75 6e 64 2d 74 65 | 78 74 20 23 5b 28 73 65 |pound-te|xt #[(se|
|000025e0| 6c 65 63 74 69 6f 6e 20 | 74 79 70 65 20 76 61 6c |lection |type val|
|000025f0| 75 65 29 20 22 c0 09 5c | 6e 0b 23 87 22 20 5b 78 |ue) "..\|n.#." [x|
|00002600| 73 65 6c 65 63 74 2d 63 | 6f 6e 76 65 72 74 2d 74 |select-c|onvert-t|
|00002610| 6f 2d 74 65 78 74 20 73 | 65 6c 65 63 74 69 6f 6e |o-text s|election|
|00002620| 20 74 79 70 65 20 76 61 | 6c 75 65 5d 20 34 5d 29 | type va|lue] 4])|
|00002630| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 78 73 65 6c |.(defali|as 'xsel|
|00002640| 65 63 74 2d 63 6f 6e 76 | 65 72 74 2d 74 6f 2d 6c |ect-conv|ert-to-l|
|00002650| 65 6e 67 74 68 20 23 5b | 28 73 65 6c 65 63 74 69 |ength #[|(selecti|
|00002660| 6f 6e 20 74 79 70 65 20 | 76 61 6c 75 65 29 20 22 |on type |value) "|
|00002670| 08 3b ab 84 08 47 aa b6 | c1 08 21 ab 85 c2 08 21 |.;...G..|..!....!|
|00002680| aa ac 08 3a ad a8 c3 08 | 40 21 ad a2 c3 08 41 21 |...:....|@!....A!|
|00002690| ad 9c c4 08 40 21 c4 08 | 41 21 61 ac 8a c5 c6 c7 |....@!..|A!a.....|
|000026a0| 08 40 08 41 45 5c 22 88 | c8 08 40 08 41 5a 21 89 |.@.AE\".|..@.AZ!.|
|000026b0| 18 ad 89 c9 08 ca 5c 22 | cb 08 cc 5c 22 42 29 87 |......\"|...\"B).|
|000026c0| 22 20 5b 76 61 6c 75 65 | 20 65 78 74 65 6e 74 70 |" [value| extentp|
|000026d0| 20 65 78 74 65 6e 74 2d | 6c 65 6e 67 74 68 20 6d | extent-|length m|
|000026e0| 61 72 6b 65 72 70 20 6d | 61 72 6b 65 72 2d 62 75 |arkerp m|arker-bu|
|000026f0| 66 66 65 72 20 73 69 67 | 6e 61 6c 20 65 72 72 6f |ffer sig|nal erro|
|00002700| 72 20 22 6d 61 72 6b 65 | 72 73 20 6d 75 73 74 20 |r "marke|rs must |
|00002710| 62 65 20 69 6e 20 74 68 | 65 20 73 61 6d 65 20 62 |be in th|e same b|
|00002720| 75 66 66 65 72 22 20 61 | 62 73 20 61 73 68 20 2d |uffer" a|bs ash -|
|00002730| 31 36 20 6c 6f 67 61 6e | 64 20 36 35 35 33 35 5d |16 logan|d 65535]|
|00002740| 20 36 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 6]).(de|falias '|
|00002750| 78 73 65 6c 65 63 74 2d | 63 6f 6e 76 65 72 74 2d |xselect-|convert-|
|00002760| 74 6f 2d 74 61 72 67 65 | 74 73 20 23 5b 28 73 65 |to-targe|ts #[(se|
|00002770| 6c 65 63 74 69 6f 6e 20 | 74 79 70 65 20 76 61 6c |lection |type val|
|00002780| 75 65 29 20 22 c0 c1 c2 | 0b 5c 22 42 89 1c 1d 0d |ue) "...|.\"B....|
|00002790| ab a7 0d 40 0d 41 73 ab | 8b 0d c6 0d 40 0d 41 5c |...@.As.|....@.A\|
|000027a0| 22 a1 88 aa 6b 0d 41 40 | c7 61 ab 88 0d 89 41 41 |"...k.A@|.a....AA|
|000027b0| a1 88 aa 5c 5c 0d 41 89 | 15 ac 59 c8 c9 0c 5c 22 |...\\.A.|..Y...\"|
|000027c0| 2a 87 22 20 5b 54 49 4d | 45 53 54 41 4d 50 20 6d |*." [TIM|ESTAMP m|
|000027d0| 61 70 63 61 72 20 63 61 | 72 20 73 65 6c 65 63 74 |apcar ca|r select|
|000027e0| 69 6f 6e 2d 63 6f 6e 76 | 65 72 74 65 72 2d 61 6c |ion-conv|erter-al|
|000027f0| 69 73 74 20 61 6c 6c 20 | 72 65 73 74 20 64 65 6c |ist all |rest del|
|00002800| 71 20 5f 45 4d 41 43 53 | 5f 49 4e 54 45 52 4e 41 |q _EMACS|_INTERNA|
|00002810| 4c 20 61 70 70 6c 79 20 | 76 65 63 74 6f 72 5d 20 |L apply |vector] |
|00002820| 35 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 78 |5]).(def|alias 'x|
|00002830| 73 65 6c 65 63 74 2d 63 | 6f 6e 76 65 72 74 2d 74 |select-c|onvert-t|
|00002840| 6f 2d 64 65 6c 65 74 65 | 20 23 5b 28 73 65 6c 65 |o-delete| #[(sele|
|00002850| 63 74 69 6f 6e 20 74 79 | 70 65 20 76 61 6c 75 65 |ction ty|pe value|
|00002860| 29 20 22 c0 09 21 88 c2 | 87 22 20 5b 78 2d 64 69 |) "..!..|." [x-di|
|00002870| 73 6f 77 6e 2d 73 65 6c | 65 63 74 69 6f 6e 2d 69 |sown-sel|ection-i|
|00002880| 6e 74 65 72 6e 61 6c 20 | 73 65 6c 65 63 74 69 6f |nternal |selectio|
|00002890| 6e 20 4e 55 4c 4c 5d 20 | 32 5d 29 0a 28 64 65 66 |n NULL] |2]).(def|
|000028a0| 61 6c 69 61 73 20 27 78 | 73 65 6c 65 63 74 2d 63 |alias 'x|select-c|
|000028b0| 6f 6e 76 65 72 74 2d 74 | 6f 2d 66 69 6c 65 6e 61 |onvert-t|o-filena|
|000028c0| 6d 65 20 23 5b 28 73 65 | 6c 65 63 74 69 6f 6e 20 |me #[(se|lection |
|000028d0| 74 79 70 65 20 76 61 6c | 75 65 29 20 22 c0 09 21 |type val|ue) "..!|
|000028e0| ab 8b c2 c3 09 21 ae 83 | c4 c5 21 21 87 09 3a ab |.....!..|..!!..:.|
|000028f0| 98 c6 09 40 21 ab 92 c6 | 09 41 21 ab 8c c2 c7 09 |...@!...|.A!.....|
|00002900| 40 21 ae 83 c4 c5 21 21 | 87 c8 87 22 20 5b 65 78 |@!....!!|..." [ex|
|00002910| 74 65 6e 74 70 20 76 61 | 6c 75 65 20 62 75 66 66 |tentp va|lue buff|
|00002920| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 65 78 74 |er-file-|name ext|
|00002930| 65 6e 74 2d 6f 62 6a 65 | 63 74 20 65 72 72 6f 72 |ent-obje|ct error|
|00002940| 20 22 73 65 6c 65 63 74 | 69 6f 6e 20 69 73 20 69 | "select|ion is i|
|00002950| 6e 20 61 20 6b 69 6c 6c | 65 64 20 62 75 66 66 65 |n a kill|ed buffe|
|00002960| 72 22 20 6d 61 72 6b 65 | 72 70 20 6d 61 72 6b 65 |r" marke|rp marke|
|00002970| 72 2d 62 75 66 66 65 72 | 20 6e 69 6c 5d 20 33 5d |r-buffer| nil] 3]|
|00002980| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 78 73 65 |).(defal|ias 'xse|
|00002990| 6c 65 63 74 2d 63 6f 6e | 76 65 72 74 2d 74 6f 2d |lect-con|vert-to-|
|000029a0| 63 68 61 72 70 6f 73 20 | 23 5b 28 73 65 6c 65 63 |charpos |#[(selec|
|000029b0| 74 69 6f 6e 20 74 79 70 | 65 20 76 61 6c 75 65 29 |tion typ|e value)|
|000029c0| 20 22 c0 89 89 19 1a 1b | c4 0d 21 ab 8b c6 0d 21 | "......|..!....!|
|000029d0| 13 c7 0d 21 89 12 aa 97 | 0d 3a ad bc c8 0d 40 21 |...!....|.:....@!|
|000029e0| ad b6 c8 0d 41 21 ad b0 | 0d 40 13 0d 41 89 12 ad |....A!..|.@..A...|
|000029f0| a7 0b 53 13 5c 6e 53 89 | 12 0b 57 ab 86 0b 11 5c |..S.\nS.|..W....\|
|00002a00| 6e 13 09 12 c9 ca cb 0b | cc 5c 22 cd 0b ce 5c 22 |n.......|.\"...\"|
|00002a10| 42 cb 5c 6e cc 5c 22 cd | 5c 6e ce 5c 22 42 5c 22 |B.\n.\".|\n.\"B\"|
|00002a20| 42 2b 87 22 20 5b 6e 69 | 6c 20 74 6d 70 20 62 20 |B+." [ni|l tmp b |
|00002a30| 61 20 65 78 74 65 6e 74 | 70 20 76 61 6c 75 65 20 |a extent|p value |
|00002a40| 65 78 74 65 6e 74 2d 73 | 74 61 72 74 2d 70 6f 73 |extent-s|tart-pos|
|00002a50| 69 74 69 6f 6e 20 65 78 | 74 65 6e 74 2d 65 6e 64 |ition ex|tent-end|
|00002a60| 2d 70 6f 73 69 74 69 6f | 6e 20 6d 61 72 6b 65 72 |-positio|n marker|
|00002a70| 70 20 53 50 41 4e 20 76 | 65 63 74 6f 72 20 61 73 |p SPAN v|ector as|
|00002a80| 68 20 2d 31 36 20 6c 6f | 67 61 6e 64 20 36 35 35 |h -16 lo|gand 655|
|00002a90| 33 35 5d 20 38 5d 29 0a | 28 64 65 66 61 6c 69 61 |35] 8]).|(defalia|
|00002aa0| 73 20 27 78 73 65 6c 65 | 63 74 2d 63 6f 6e 76 65 |s 'xsele|ct-conve|
|00002ab0| 72 74 2d 74 6f 2d 6c 69 | 6e 65 6e 6f 20 23 5b 28 |rt-to-li|neno #[(|
|00002ac0| 73 65 6c 65 63 74 69 6f | 6e 20 74 79 70 65 20 76 |selectio|n type v|
|00002ad0| 61 6c 75 65 29 20 22 c0 | 89 89 89 19 1a 1b 1c c5 |alue) ".|........|
|00002ae0| 0e 06 21 ab 92 c7 0e 06 | 21 12 c8 0e 06 21 14 c9 |..!.....|!....!..|
|00002af0| 0e 06 21 89 13 aa a6 0e | 06 3a ad e4 ca 0e 06 40 |..!.....|.:.....@|
|00002b00| 21 ad dd ca 0e 06 41 21 | ad d6 cb 0e 06 40 21 14 |!.....A!|.....@!.|
|00002b10| cb 0e 06 41 21 13 cc 0e | 06 40 21 89 12 ad c1 8a |...A!...|.@!.....|
|00002b20| 5c 6e 71 88 8c 7e 88 0c | 62 88 cd 79 88 ce cf 60 |\nq..~..|b..y...`|
|00002b30| 5c 22 54 14 0b 62 88 cd | 79 88 ce cf 60 5c 22 54 |\"T..b..|y...`\"T|
|00002b40| 13 2a 0b 0c 57 ab 86 0c | 11 0b 14 09 13 d0 d1 d2 |.*..W...|........|
|00002b50| 0c d3 5c 22 d4 0c d5 5c | 22 42 d2 0b d3 5c 22 d4 |..\"...\|"B...\".|
|00002b60| 0b d5 5c 22 42 5c 22 42 | 2c 87 22 20 5b 6e 69 6c |..\"B\"B|,." [nil|
|00002b70| 20 74 6d 70 20 62 75 66 | 20 62 20 61 20 65 78 74 | tmp buf| b a ext|
|00002b80| 65 6e 74 70 20 76 61 6c | 75 65 20 65 78 74 65 6e |entp val|ue exten|
|00002b90| 74 2d 6f 62 6a 65 63 74 | 20 65 78 74 65 6e 74 2d |t-object| extent-|
|00002ba0| 73 74 61 72 74 2d 70 6f | 73 69 74 69 6f 6e 20 65 |start-po|sition e|
|00002bb0| 78 74 65 6e 74 2d 65 6e | 64 2d 70 6f 73 69 74 69 |xtent-en|d-positi|
|00002bc0| 6f 6e 20 6d 61 72 6b 65 | 72 70 20 6d 61 72 6b 65 |on marke|rp marke|
|00002bd0| 72 2d 70 6f 73 69 74 69 | 6f 6e 20 6d 61 72 6b 65 |r-positi|on marke|
|00002be0| 72 2d 62 75 66 66 65 72 | 20 30 20 63 6f 75 6e 74 |r-buffer| 0 count|
|00002bf0| 2d 6c 69 6e 65 73 20 31 | 20 53 50 41 4e 20 76 65 |-lines 1| SPAN ve|
|00002c00| 63 74 6f 72 20 61 73 68 | 20 2d 31 36 20 6c 6f 67 |ctor ash| -16 log|
|00002c10| 61 6e 64 20 36 35 35 33 | 35 5d 20 37 5d 29 0a 28 |and 6553|5] 7]).(|
|00002c20| 64 65 66 61 6c 69 61 73 | 20 27 78 73 65 6c 65 63 |defalias| 'xselec|
|00002c30| 74 2d 63 6f 6e 76 65 72 | 74 2d 74 6f 2d 63 6f 6c |t-conver|t-to-col|
|00002c40| 6e 6f 20 23 5b 28 73 65 | 6c 65 63 74 69 6f 6e 20 |no #[(se|lection |
|00002c50| 74 79 70 65 20 76 61 6c | 75 65 29 20 22 c0 89 89 |type val|ue) "...|
|00002c60| 89 19 1a 1b 1c c5 0e 06 | 21 ab 92 c7 0e 06 21 12 |........|!.....!.|
|00002c70| c8 0e 06 21 14 c9 0e 06 | 21 89 13 aa a0 0e 06 3a |...!....|!......:|
|00002c80| ad cd ca 0e 06 40 21 ad | c6 ca 0e 06 41 21 ad bf |.....@!.|....A!..|
|00002c90| 0e 06 40 14 0e 06 41 13 | cb 0c 21 89 12 ad b0 8a |..@...A.|..!.....|
|00002ca0| 5c 6e 71 88 0c 62 88 69 | 14 0b 62 88 69 13 29 0b |\nq..b.i|..b.i.).|
|00002cb0| 0c 57 ab 86 0c 11 0b 14 | 09 13 cc cd ce 0c cf 5c |.W......|.......\|
|00002cc0| 22 d0 0c d1 5c 22 42 ce | 0b cf 5c 22 d0 0b d1 5c |"...\"B.|..\"...\|
|00002cd0| 22 42 5c 22 42 2c 87 22 | 20 5b 6e 69 6c 20 74 6d |"B\"B,."| [nil tm|
|00002ce0| 70 20 62 75 66 20 62 20 | 61 20 65 78 74 65 6e 74 |p buf b |a extent|
|00002cf0| 70 20 76 61 6c 75 65 20 | 65 78 74 65 6e 74 2d 6f |p value |extent-o|
|00002d00| 62 6a 65 63 74 20 65 78 | 74 65 6e 74 2d 73 74 61 |bject ex|tent-sta|
|00002d10| 72 74 2d 70 6f 73 69 74 | 69 6f 6e 20 65 78 74 65 |rt-posit|ion exte|
|00002d20| 6e 74 2d 65 6e 64 2d 70 | 6f 73 69 74 69 6f 6e 20 |nt-end-p|osition |
|00002d30| 6d 61 72 6b 65 72 70 20 | 6d 61 72 6b 65 72 2d 62 |markerp |marker-b|
|00002d40| 75 66 66 65 72 20 53 50 | 41 4e 20 76 65 63 74 6f |uffer SP|AN vecto|
|00002d50| 72 20 61 73 68 20 2d 31 | 36 20 6c 6f 67 61 6e 64 |r ash -1|6 logand|
|00002d60| 20 36 35 35 33 35 5d 20 | 37 5d 29 0a 28 64 65 66 | 65535] |7]).(def|
|00002d70| 61 6c 69 61 73 20 27 78 | 73 65 6c 65 63 74 2d 63 |alias 'x|select-c|
|00002d80| 6f 6e 76 65 72 74 2d 74 | 6f 2d 73 6f 75 72 63 65 |onvert-t|o-source|
|00002d90| 6c 6f 63 20 23 5b 28 73 | 65 6c 65 63 74 69 6f 6e |loc #[(s|election|
|00002da0| 20 74 79 70 65 20 76 61 | 6c 75 65 29 20 22 c0 89 | type va|lue) "..|
|00002db0| 89 89 89 19 1a 1b 1c 1d | c6 0e 07 21 ab 9b c8 0e |........|...!....|
|00002dc0| 07 21 ae 83 c9 ca 21 13 | cb 0e 07 21 15 cc 0e 07 |.!....!.|...!....|
|00002dd0| 21 14 cd 0b 21 89 12 aa | af 0e 07 3a ad dc ce 0e |!...!...|...:....|
|00002de0| 07 40 21 ad d5 ce 0e 07 | 41 21 ad ce cf 0e 07 40 |.@!.....|A!.....@|
|00002df0| 21 15 cf 0e 07 41 21 14 | d0 0e 07 40 21 ae 83 c9 |!....A!.|...@!...|
|00002e00| ca 21 13 cd 0b 21 89 12 | ad b0 8a 0b 71 88 8c 7e |.!...!..|....q..~|
|00002e10| 88 0d 62 88 d1 79 88 d2 | d3 60 5c 22 54 15 0c 62 |..b..y..|.`\"T..b|
|00002e20| 88 d1 79 88 d2 d3 60 5c | 22 54 14 2a 0c 0d 57 ab |..y...`\|"T.*..W.|
|00002e30| 86 0d 11 0c 15 09 14 d4 | d5 5c 6e 0d 23 2d 87 22 |........|.\n.#-."|
|00002e40| 20 5b 6e 69 6c 20 74 6d | 70 20 66 69 6c 65 2d 6e | [nil tm|p file-n|
|00002e50| 61 6d 65 20 62 75 66 20 | 62 20 61 20 65 78 74 65 |ame buf |b a exte|
|00002e60| 6e 74 70 20 76 61 6c 75 | 65 20 65 78 74 65 6e 74 |ntp valu|e extent|
|00002e70| 2d 6f 62 6a 65 63 74 20 | 65 72 72 6f 72 20 22 73 |-object |error "s|
|00002e80| 65 6c 65 63 74 69 6f 6e | 20 69 73 20 69 6e 20 61 |election| is in a|
|00002e90| 20 6b 69 6c 6c 65 64 20 | 62 75 66 66 65 72 22 20 | killed |buffer" |
|00002ea0| 65 78 74 65 6e 74 2d 73 | 74 61 72 74 2d 70 6f 73 |extent-s|tart-pos|
|00002eb0| 69 74 69 6f 6e 20 65 78 | 74 65 6e 74 2d 65 6e 64 |ition ex|tent-end|
|00002ec0| 2d 70 6f 73 69 74 69 6f | 6e 20 62 75 66 66 65 72 |-positio|n buffer|
|00002ed0| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 6d 61 72 6b 65 |-file-na|me marke|
|00002ee0| 72 70 20 6d 61 72 6b 65 | 72 2d 70 6f 73 69 74 69 |rp marke|r-positi|
|00002ef0| 6f 6e 20 6d 61 72 6b 65 | 72 2d 62 75 66 66 65 72 |on marke|r-buffer|
|00002f00| 20 30 20 63 6f 75 6e 74 | 2d 6c 69 6e 65 73 20 31 | 0 count|-lines 1|
|00002f10| 20 66 6f 72 6d 61 74 20 | 22 25 73 3a 25 64 22 5d | format |"%s:%d"]|
|00002f20| 20 35 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 | 5]).(de|falias '|
|00002f30| 78 73 65 6c 65 63 74 2d | 63 6f 6e 76 65 72 74 2d |xselect-|convert-|
|00002f40| 74 6f 2d 6f 73 20 23 5b | 28 73 65 6c 65 63 74 69 |to-os #[|(selecti|
|00002f50| 6f 6e 20 74 79 70 65 20 | 73 69 7a 65 29 20 22 c0 |on type |size) ".|
|00002f60| 09 21 87 22 20 5b 73 79 | 6d 62 6f 6c 2d 6e 61 6d |.!." [sy|mbol-nam|
|00002f70| 65 20 73 79 73 74 65 6d | 2d 74 79 70 65 5d 20 32 |e system|-type] 2|
|00002f80| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 78 73 |]).(defa|lias 'xs|
|00002f90| 65 6c 65 63 74 2d 63 6f | 6e 76 65 72 74 2d 74 6f |elect-co|nvert-to|
|00002fa0| 2d 68 6f 73 74 20 23 5b | 28 73 65 6c 65 63 74 69 |-host #[|(selecti|
|00002fb0| 6f 6e 20 74 79 70 65 20 | 73 69 7a 65 29 20 22 c0 |on type |size) ".|
|00002fc0| 20 87 22 20 5b 73 79 73 | 74 65 6d 2d 6e 61 6d 65 | ." [sys|tem-name|
|00002fd0| 5d 20 31 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |] 1]).(d|efalias |
|00002fe0| 27 78 73 65 6c 65 63 74 | 2d 63 6f 6e 76 65 72 74 |'xselect|-convert|
|00002ff0| 2d 74 6f 2d 75 73 65 72 | 20 23 5b 28 73 65 6c 65 |-to-user| #[(sele|
|00003000| 63 74 69 6f 6e 20 74 79 | 70 65 20 73 69 7a 65 29 |ction ty|pe size)|
|00003010| 20 22 c0 20 87 22 20 5b | 75 73 65 72 2d 66 75 6c | ". ." [|user-ful|
|00003020| 6c 2d 6e 61 6d 65 5d 20 | 31 5d 29 0a 28 64 65 66 |l-name] |1]).(def|
|00003030| 61 6c 69 61 73 20 27 78 | 73 65 6c 65 63 74 2d 63 |alias 'x|select-c|
|00003040| 6f 6e 76 65 72 74 2d 74 | 6f 2d 63 6c 61 73 73 20 |onvert-t|o-class |
|00003050| 23 5b 28 73 65 6c 65 63 | 74 69 6f 6e 20 74 79 70 |#[(selec|tion typ|
|00003060| 65 20 73 69 7a 65 29 20 | 22 08 87 22 20 5b 78 2d |e size) |".." [x-|
|00003070| 65 6d 61 63 73 2d 61 70 | 70 6c 69 63 61 74 69 6f |emacs-ap|plicatio|
|00003080| 6e 2d 63 6c 61 73 73 5d | 20 31 5d 29 0a 23 40 38 |n-class]| 1]).#@8|
|00003090| 20 78 65 6d 61 63 73 1f | 0a 28 64 65 66 61 6c 69 | xemacs.|.(defali|
|000030a0| 61 73 20 27 78 73 65 6c | 65 63 74 2d 63 6f 6e 76 |as 'xsel|ect-conv|
|000030b0| 65 72 74 2d 74 6f 2d 6e | 61 6d 65 20 23 5b 28 73 |ert-to-n|ame #[(s|
|000030c0| 65 6c 65 63 74 69 6f 6e | 20 74 79 70 65 20 73 69 |election| type si|
|000030d0| 7a 65 29 20 22 c0 87 22 | 20 5b 6e 69 6c 5d 20 31 |ze) ".."| [nil] 1|
|000030e0| 20 28 23 24 20 2e 20 31 | 32 34 33 33 29 5d 29 0a | (#$ . 1|2433)]).|
|000030f0| 28 64 65 66 61 6c 69 61 | 73 20 27 78 73 65 6c 65 |(defalia|s 'xsele|
|00003100| 63 74 2d 63 6f 6e 76 65 | 72 74 2d 74 6f 2d 69 6e |ct-conve|rt-to-in|
|00003110| 74 65 67 65 72 20 23 5b | 28 73 65 6c 65 63 74 69 |teger #[|(selecti|
|00003120| 6f 6e 20 74 79 70 65 20 | 76 61 6c 75 65 29 20 22 |on type |value) "|
|00003130| 08 a8 ad 89 c1 08 c2 5c | 22 c3 08 c4 5c 22 42 87 |.......\|"...\"B.|
|00003140| 22 20 5b 76 61 6c 75 65 | 20 61 73 68 20 2d 31 36 |" [value| ash -16|
|00003150| 20 6c 6f 67 61 6e 64 20 | 36 35 35 33 35 5d 20 34 | logand |65535] 4|
|00003160| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 78 73 |]).(defa|lias 'xs|
|00003170| 65 6c 65 63 74 2d 63 6f | 6e 76 65 72 74 2d 74 6f |elect-co|nvert-to|
|00003180| 2d 61 74 6f 6d 20 23 5b | 28 73 65 6c 65 63 74 69 |-atom #[|(selecti|
|00003190| 6f 6e 20 74 79 70 65 20 | 76 61 6c 75 65 29 20 22 |on type |value) "|
|000031a0| 08 39 ad 81 08 87 22 20 | 5b 76 61 6c 75 65 5d 20 |.9...." |[value] |
|000031b0| 31 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 78 |1]).(def|alias 'x|
|000031c0| 73 65 6c 65 63 74 2d 63 | 6f 6e 76 65 72 74 2d 74 |select-c|onvert-t|
|000031d0| 6f 2d 69 64 65 6e 74 69 | 74 79 20 23 5b 28 73 65 |o-identi|ty #[(se|
|000031e0| 6c 65 63 74 69 6f 6e 20 | 74 79 70 65 20 76 61 6c |lection |type val|
|000031f0| 75 65 29 20 22 c0 09 21 | 87 22 20 5b 76 65 63 74 |ue) "..!|." [vect|
|00003200| 6f 72 20 76 61 6c 75 65 | 5d 20 32 5d 29 0a 28 62 |or value|] 2]).(b|
|00003210| 79 74 65 2d 63 6f 64 65 | 20 22 c0 11 c2 87 22 20 |yte-code| "...." |
|00003220| 5b 28 28 54 45 58 54 20 | 2e 20 78 73 65 6c 65 63 |[((TEXT |. xselec|
|00003230| 74 2d 63 6f 6e 76 65 72 | 74 2d 74 6f 2d 74 65 78 |t-conver|t-to-tex|
|00003240| 74 29 20 28 53 54 52 49 | 4e 47 20 2e 20 78 73 65 |t) (STRI|NG . xse|
|00003250| 6c 65 63 74 2d 63 6f 6e | 76 65 72 74 2d 74 6f 2d |lect-con|vert-to-|
|00003260| 73 74 72 69 6e 67 29 20 | 28 43 4f 4d 50 4f 55 4e |string) |(COMPOUN|
|00003270| 44 5f 54 45 58 54 20 2e | 20 78 73 65 6c 65 63 74 |D_TEXT .| xselect|
|00003280| 2d 63 6f 6e 76 65 72 74 | 2d 74 6f 2d 63 6f 6d 70 |-convert|-to-comp|
|00003290| 6f 75 6e 64 2d 74 65 78 | 74 29 20 28 54 41 52 47 |ound-tex|t) (TARG|
|000032a0| 45 54 53 20 2e 20 78 73 | 65 6c 65 63 74 2d 63 6f |ETS . xs|elect-co|
|000032b0| 6e 76 65 72 74 2d 74 6f | 2d 74 61 72 67 65 74 73 |nvert-to|-targets|
|000032c0| 29 20 28 4c 45 4e 47 54 | 48 20 2e 20 78 73 65 6c |) (LENGT|H . xsel|
|000032d0| 65 63 74 2d 63 6f 6e 76 | 65 72 74 2d 74 6f 2d 6c |ect-conv|ert-to-l|
|000032e0| 65 6e 67 74 68 29 20 28 | 44 45 4c 45 54 45 20 2e |ength) (|DELETE .|
|000032f0| 20 78 73 65 6c 65 63 74 | 2d 63 6f 6e 76 65 72 74 | xselect|-convert|
|00003300| 2d 74 6f 2d 64 65 6c 65 | 74 65 29 20 28 46 49 4c |-to-dele|te) (FIL|
|00003310| 45 5f 4e 41 4d 45 20 2e | 20 78 73 65 6c 65 63 74 |E_NAME .| xselect|
|00003320| 2d 63 6f 6e 76 65 72 74 | 2d 74 6f 2d 66 69 6c 65 |-convert|-to-file|
|00003330| 6e 61 6d 65 29 20 28 43 | 48 41 52 41 43 54 45 52 |name) (C|HARACTER|
|00003340| 5f 50 4f 53 49 54 49 4f | 4e 20 2e 20 78 73 65 6c |_POSITIO|N . xsel|
|00003350| 65 63 74 2d 63 6f 6e 76 | 65 72 74 2d 74 6f 2d 63 |ect-conv|ert-to-c|
|00003360| 68 61 72 70 6f 73 29 20 | 28 53 4f 55 52 43 45 5f |harpos) |(SOURCE_|
|00003370| 4c 4f 43 20 2e 20 78 73 | 65 6c 65 63 74 2d 63 6f |LOC . xs|elect-co|
|00003380| 6e 76 65 72 74 2d 74 6f | 2d 73 6f 75 72 63 65 6c |nvert-to|-sourcel|
|00003390| 6f 63 29 20 28 4c 49 4e | 45 5f 4e 55 4d 42 45 52 |oc) (LIN|E_NUMBER|
|000033a0| 20 2e 20 78 73 65 6c 65 | 63 74 2d 63 6f 6e 76 65 | . xsele|ct-conve|
|000033b0| 72 74 2d 74 6f 2d 6c 69 | 6e 65 6e 6f 29 20 28 43 |rt-to-li|neno) (C|
|000033c0| 4f 4c 55 4d 4e 5f 4e 55 | 4d 42 45 52 20 2e 20 78 |OLUMN_NU|MBER . x|
|000033d0| 73 65 6c 65 63 74 2d 63 | 6f 6e 76 65 72 74 2d 74 |select-c|onvert-t|
|000033e0| 6f 2d 63 6f 6c 6e 6f 29 | 20 28 4f 57 4e 45 52 5f |o-colno)| (OWNER_|
|000033f0| 4f 53 20 2e 20 78 73 65 | 6c 65 63 74 2d 63 6f 6e |OS . xse|lect-con|
|00003400| 76 65 72 74 2d 74 6f 2d | 6f 73 29 20 28 48 4f 53 |vert-to-|os) (HOS|
|00003410| 54 5f 4e 41 4d 45 20 2e | 20 78 73 65 6c 65 63 74 |T_NAME .| xselect|
|00003420| 2d 63 6f 6e 76 65 72 74 | 2d 74 6f 2d 68 6f 73 74 |-convert|-to-host|
|00003430| 29 20 28 55 53 45 52 20 | 2e 20 78 73 65 6c 65 63 |) (USER |. xselec|
|00003440| 74 2d 63 6f 6e 76 65 72 | 74 2d 74 6f 2d 75 73 65 |t-conver|t-to-use|
|00003450| 72 29 20 28 43 4c 41 53 | 53 20 2e 20 78 73 65 6c |r) (CLAS|S . xsel|
|00003460| 65 63 74 2d 63 6f 6e 76 | 65 72 74 2d 74 6f 2d 63 |ect-conv|ert-to-c|
|00003470| 6c 61 73 73 29 20 28 4e | 41 4d 45 20 2e 20 78 73 |lass) (N|AME . xs|
|00003480| 65 6c 65 63 74 2d 63 6f | 6e 76 65 72 74 2d 74 6f |elect-co|nvert-to|
|00003490| 2d 6e 61 6d 65 29 20 28 | 41 54 4f 4d 20 2e 20 78 |-name) (|ATOM . x|
|000034a0| 73 65 6c 65 63 74 2d 63 | 6f 6e 76 65 72 74 2d 74 |select-c|onvert-t|
|000034b0| 6f 2d 61 74 6f 6d 29 20 | 28 49 4e 54 45 47 45 52 |o-atom) |(INTEGER|
|000034c0| 20 2e 20 78 73 65 6c 65 | 63 74 2d 63 6f 6e 76 65 | . xsele|ct-conve|
|000034d0| 72 74 2d 74 6f 2d 69 6e | 74 65 67 65 72 29 20 28 |rt-to-in|teger) (|
|000034e0| 5f 45 4d 41 43 53 5f 49 | 4e 54 45 52 4e 41 4c 20 |_EMACS_I|NTERNAL |
|000034f0| 2e 20 78 73 65 6c 65 63 | 74 2d 63 6f 6e 76 65 72 |. xselec|t-conver|
|00003500| 74 2d 74 6f 2d 69 64 65 | 6e 74 69 74 79 29 29 20 |t-to-ide|ntity)) |
|00003510| 73 65 6c 65 63 74 69 6f | 6e 2d 63 6f 6e 76 65 72 |selectio|n-conver|
|00003520| 74 65 72 2d 61 6c 69 73 | 74 20 6e 69 6c 5d 20 31 |ter-alis|t nil] 1|
|00003530| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+